summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-31post-receive hook: force UTF-8 localeHiltjo Posthuma
this fixes encoding errors when the pages are generated in the post-receive hook.
2017-09-04allow umask to handle permissionsHiltjo Posthuma
2017-08-09ignore object 0000000000000000000000000000000000000000Hiltjo Posthuma
remote: fatal: bad object 0000000000000000000000000000000000000000 this can happen on initial repos or when pushing tags etc.
2017-08-02bump version for a release soonHiltjo Posthuma
2017-08-02example_create.sh: make executableHiltjo Posthuma
2017-07-30improve example scripts, add to build (Makefile)Hiltjo Posthuma
2017-07-15improve example, add initial post-receive exampleHiltjo Posthuma
2017-07-06README: add example for a git hook and to set the url fileHiltjo Posthuma
2017-07-05README: add example to create tar.gz archives by tagHiltjo Posthuma
2017-06-25Makefile: remove TODOHiltjo Posthuma
fixes make dist, thanks stateless :)
2017-06-23remove TODOHiltjo Posthuma
2017-06-23separate getstats from getbyoid: slightly fasterHiltjo Posthuma
2017-05-07for the commit Date: header use the git format-patch formatHiltjo Posthuma
2017-05-07dont truncate summary length anymoreHiltjo Posthuma
make sure not partial (invalid) utf-8 sequences are written. The old logic truncated by bytelen was wrong. It is too complex to implement it in a correct way with git: it is not assured a commit message is UTF-8 encoded. remove showlinecount and summarylen variables.
2017-05-07remove config.def.h: it was not used anymoreHiltjo Posthuma
thanks tarug0 for reporting it!
2017-05-07improve commitinfo_getstatsHiltjo Posthuma
- reorder: unnecessary allocation when git_patch_from_diff fails. - no need to free patch object when git_patch_from_diff fails.
2017-04-22improve documentationHiltjo Posthuma
- add example to README to extract gitweb.owner from a git config. this is used in gitweb and some cgit configurations. - fix (new) mandoc warnings (new sentence on each line). - improve some texts in the man pages, sort / structure some list items.
2017-04-17align line numbers to 8 spacesHiltjo Posthuma
... now it is done.
2017-04-17writeblobhtml: minor style fixHiltjo Posthuma
using len instead of the loop 'i' is slightly more clear
2017-04-17stagit: fix rendering of first TAB in fileHiltjo Posthuma
else TABs wont render properly (interpreted as part of HTML whitespace) at the first TAB of the line.
2017-04-17stagit-index: also dont assume someones <html lang> :)Hiltjo Posthuma
2017-04-17stagit-index: remove Content-Language: enHiltjo Posthuma
forgot to remove this from stagit-index aswell, see also: commit 9e96062b620088a42c7b345e07cc8c12e2b59ed2
2017-04-16writeblobhtml: fix possible uninitialized variable n when len == 0Hiltjo Posthuma
... whoops
2017-04-16writeblobhtml: improve file view for text-browsersHiltjo Posthuma
browsers such as lynx and w3m have some quirks displaying tables and pre elements. links is a bit better with this.
2017-04-16stagit-index: remove empty h1 and add bold markup to table headersHiltjo Posthuma
2017-04-16text-browser improvementsHiltjo Posthuma
for links, lynx, w3m, dil[dl]o etc: - set oldschool align attribute. - apply bold markup to table header.
2017-04-16README: advertise text-browser improvementsHiltjo Posthuma
2017-04-16LICENSE: bump yearHiltjo Posthuma
2017-04-15browser compatibility: use numeric entity for 'Hiltjo Posthuma
&apos; is a XHTML entity, browsers such as links, w3m, lynx and dillo don't support it.
2017-04-01writeblobhtml, make fprintf format string constHiltjo Posthuma
2017-03-25README: add instructions to build static binariesHiltjo Posthuma
2017-03-25Makefile: change () to {} consistentlyHiltjo Posthuma
reported by tarug0, thanks!
2017-03-12fix potential leak, found by clang-analyzerHiltjo Posthuma
2017-03-12fix memory leak of commitinfoHiltjo Posthuma
2017-03-12atom.xml: add newline before EOFHiltjo Posthuma
2017-03-12fix memory leak of commitinfo->parentHiltjo Posthuma
2017-03-12fix memory leak of blob objectHiltjo Posthuma
2017-03-12simplify/shorten pledge stubHiltjo Posthuma
2017-03-12reduce scope of repodir, remove unused branch parameterHiltjo Posthuma
2017-01-05bump version to 0.5Hiltjo Posthuma
2016-11-09also remove language and text direction attribute from <html>Hiltjo Posthuma
2016-11-09remove Content-Language: enHiltjo Posthuma
thanks Aymeric Mansoux!
2016-10-14stagit.1: also document linking to git submodules: .gitmodules fileHiltjo Posthuma
2016-10-13stagit.1: clarify README and LICENSE link creationHiltjo Posthuma
thanks Solene Rapenne for the patch! (slightly modified)
2016-09-15simplify example.sh, thanks emg for the suggestion!Hiltjo Posthuma
2016-07-20update LICENSEHiltjo Posthuma
2016-07-02config.mk: remove -lcHiltjo Posthuma
Thanks quinq! POSIX/quinq says: "In the absence of options that inhibit invocation of the link editor, such as -c or -E, the c99 utility shall cause the equivalent of a -l c option to be passed to the link editor after the last pathname operand or -l option, causing it to be searched after all other object files and libraries are loaded."
2016-05-29treat an empty repo (without a HEAD) as validHiltjo Posthuma
and create the standard files. Disable caching if there is no HEAD.
2016-05-29improve example: strip .git suffixHiltjo Posthuma
stagit-index and stagit strip the .git suffix so also strip it from the directory for the possible www root. Thanks to ng0 for reporting it!
2016-05-21refs_cmp: simplify check, functionally the sameHiltjo Posthuma