summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-04-06stagit-index: pledge after git_libgit2_initHiltjo Posthuma
2018-03-26pledge after git_libgit2_initHiltjo Posthuma
this is because libgit uses curl which uses some initialization checks, namely an IPv6 check which creates a socket.
2018-03-18optimization: only diff the tree when it is needed for the diffstat...Hiltjo Posthuma
... also clear all fields in the structure on failure. This is not as big an optimization as stagit-gopher, because the diffstat is displayed in the log, but the difference is still measurable.
2018-01-28README: improve tarball generation by tag exampleHiltjo Posthuma
- set the project name + '-' + tag name as prefix. - allow '/' in the tag name. - allow '-' as suffix in the tag.
2018-01-21stagit: add -l option: limit the amount of commits for the log.html fileHiltjo Posthuma
2018-01-21bump LICENSE to 2018Hiltjo Posthuma
2018-01-20style.css: improve compatibility with older browsers, namely dilloHiltjo Posthuma
2017-12-07Remove a non-portable syntax in MakefileQuentin Rameau
2017-11-25Makefile: bump version to 0.7.2Hiltjo Posthuma
2017-11-25post-receive: fix warning in script for example when pushing deleted tagsHiltjo Posthuma
the "new" variable would be zero: remote: fatal: bad object 0000000000000000000000000000000000000000 NOTE: when pushing new tags the "old" variable would be zero, this was already fixed.
2017-11-25Sort style.css in alphabetical orderAaron Marcher
2017-11-19Makefile: bump version to 0.7.1Hiltjo Posthuma
2017-11-19fix: add "fattr" pledge for chmod(2) for cachefileHiltjo Posthuma
improve checks for when head is NULL (empty repo)
2017-11-18Makefile: bump version to 0.7Hiltjo Posthuma
2017-11-11Makefile: remove unused $SCRIPTSHiltjo Posthuma
2017-11-10fix file permissions for cachefile and respect umask(2)Hiltjo Posthuma
2017-11-10more verbose errors: show which file failed on openHiltjo Posthuma
2017-10-31README: clarify some consHiltjo Posthuma
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!