Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-26 | pledge after git_libgit2_init | Hiltjo Posthuma | |
this is because libgit uses curl which uses some initialization checks, namely an IPv6 check which creates a socket. | |||
2018-03-18 | optimization: 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-21 | stagit: add -l option: limit the amount of commits for the log.html file | Hiltjo Posthuma | |
2017-11-19 | fix: add "fattr" pledge for chmod(2) for cachefile | Hiltjo Posthuma | |
improve checks for when head is NULL (empty repo) | |||
2017-11-10 | fix file permissions for cachefile and respect umask(2) | Hiltjo Posthuma | |
2017-11-10 | more verbose errors: show which file failed on open | Hiltjo Posthuma | |
2017-09-04 | allow umask to handle permissions | Hiltjo Posthuma | |
2017-06-23 | separate getstats from getbyoid: slightly faster | Hiltjo Posthuma | |
2017-05-07 | for the commit Date: header use the git format-patch format | Hiltjo Posthuma | |
2017-05-07 | dont truncate summary length anymore | Hiltjo 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-07 | improve commitinfo_getstats | Hiltjo Posthuma | |
- reorder: unnecessary allocation when git_patch_from_diff fails. - no need to free patch object when git_patch_from_diff fails. | |||
2017-04-17 | align line numbers to 8 spaces | Hiltjo Posthuma | |
... now it is done. | |||
2017-04-17 | writeblobhtml: minor style fix | Hiltjo Posthuma | |
using len instead of the loop 'i' is slightly more clear | |||
2017-04-17 | stagit: fix rendering of first TAB in file | Hiltjo Posthuma | |
else TABs wont render properly (interpreted as part of HTML whitespace) at the first TAB of the line. | |||
2017-04-16 | writeblobhtml: fix possible uninitialized variable n when len == 0 | Hiltjo Posthuma | |
... whoops | |||
2017-04-16 | writeblobhtml: improve file view for text-browsers | Hiltjo Posthuma | |
browsers such as lynx and w3m have some quirks displaying tables and pre elements. links is a bit better with this. | |||
2017-04-16 | text-browser improvements | Hiltjo Posthuma | |
for links, lynx, w3m, dil[dl]o etc: - set oldschool align attribute. - apply bold markup to table header. | |||
2017-04-15 | browser compatibility: use numeric entity for ' | Hiltjo Posthuma | |
' is a XHTML entity, browsers such as links, w3m, lynx and dillo don't support it. | |||
2017-04-01 | writeblobhtml, make fprintf format string const | Hiltjo Posthuma | |
2017-03-12 | fix potential leak, found by clang-analyzer | Hiltjo Posthuma | |
2017-03-12 | fix memory leak of commitinfo | Hiltjo Posthuma | |
2017-03-12 | atom.xml: add newline before EOF | Hiltjo Posthuma | |
2017-03-12 | fix memory leak of commitinfo->parent | Hiltjo Posthuma | |
2017-03-12 | fix memory leak of blob object | Hiltjo Posthuma | |
2017-03-12 | simplify/shorten pledge stub | Hiltjo Posthuma | |
2017-03-12 | reduce scope of repodir, remove unused branch parameter | Hiltjo Posthuma | |
2016-11-09 | also remove language and text direction attribute from <html> | Hiltjo Posthuma | |
2016-11-09 | remove Content-Language: en | Hiltjo Posthuma | |
thanks Aymeric Mansoux! | |||
2016-05-29 | treat an empty repo (without a HEAD) as valid | Hiltjo Posthuma | |
and create the standard files. Disable caching if there is no HEAD. | |||
2016-05-21 | refs_cmp: simplify check, functionally the same | Hiltjo Posthuma | |
2016-05-08 | check if LICENSE, README and .gitmodules is a file blob | Hiltjo Posthuma | |
don't link to directory trees, etc. Thanks 600360 for reporting it! | |||
2016-05-07 | simplify, id is unused | Hiltjo Posthuma | |
2016-05-07 | simplify, no need for goto | Hiltjo Posthuma | |
2016-05-07 | consistency for messages for special-case in diffstat | Hiltjo Posthuma | |
2016-05-07 | fix error in "code cleanup" commit 9328d2690e118127bcaa5cf9f665d8e7711f7a03 | Hiltjo Posthuma | |
... the loop was simplified, but forgot to remove p++ (double used) while rebasing the change. | |||
2016-05-06 | fix and simplify time offset | Hiltjo Posthuma | |
2016-05-06 | make diffstat files an anchor (jump to delta) | Hiltjo Posthuma | |
2016-05-03 | fix joinpath(): use of global 'repodir', should be 'path' | Hiltjo Posthuma | |
use joinpath for another case. | |||
2016-05-03 | fix regression from last commit | Hiltjo Posthuma | |
2016-05-03 | code cleanup | Hiltjo Posthuma | |
2016-05-03 | remove config.h, add options to stagit.c | Hiltjo Posthuma | |
2016-05-03 | add OpenBSD pledge(2) support using -DUSE_PLEDGE | Hiltjo Posthuma | |
2016-05-02 | style: write atom feed end in one write, kills 2 lines | Hiltjo Posthuma | |
2016-05-02 | cache support (-c option) | Hiltjo Posthuma | |
"Optionally the -c cachefile option can be used to cache the entries of the log page up to the point of the last commit. The cachefile will store the last commit id and the entries in the HTML table." this caches the diffstat and commits, it is an expensive operation (twss). | |||
2016-05-01 | small code cleanup: no need for status variable | Hiltjo Posthuma | |
2016-05-01 | atom feed: use published for author commit date, updated for committer date | Hiltjo Posthuma | |
this is the same as cgit. | |||
2016-05-01 | fix times (and timezone) | Hiltjo Posthuma | |
- in the index and log show the short time (GMT). - in the Atom feed use GMT time. - for commits show the time + offset. | |||
2016-05-01 | fix path join '/' | Hiltjo Posthuma | |
add joinpath() function to handle this. | |||
2016-05-01 | code cleanup + style, functionally equivalent | Hiltjo Posthuma | |
2016-04-30 | layout: right align lines changed count in diffstat | Hiltjo Posthuma | |