summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2016-05-08check if LICENSE, README and .gitmodules is a file blobHiltjo Posthuma
don't link to directory trees, etc. Thanks 600360 for reporting it!
2016-05-07release 0.4Hiltjo Posthuma
2016-05-07update TODOHiltjo Posthuma
2016-05-07simplify, id is unusedHiltjo Posthuma
2016-05-07simplify, no need for gotoHiltjo Posthuma
2016-05-07improve stagit.1 documentation, reword and explain caching behaviourHiltjo Posthuma
2016-05-07consistency for messages for special-case in diffstatHiltjo Posthuma
2016-05-07fix error in "code cleanup" commit 9328d2690e118127bcaa5cf9f665d8e7711f7a03Hiltjo Posthuma
... the loop was simplified, but forgot to remove p++ (double used) while rebasing the change.
2016-05-06fix and simplify time offsetHiltjo Posthuma
2016-05-06make diffstat files an anchor (jump to delta)Hiltjo Posthuma
2016-05-03fix joinpath(): use of global 'repodir', should be 'path'Hiltjo Posthuma
use joinpath for another case.
2016-05-03fix regression from last commitHiltjo Posthuma
2016-05-03code cleanupHiltjo Posthuma
2016-05-03remove config.h, add options to stagit.cHiltjo Posthuma
2016-05-03add OpenBSD pledge(2) support using -DUSE_PLEDGEHiltjo Posthuma
2016-05-02example.sh: use cache fileHiltjo Posthuma
2016-05-02style: write atom feed end in one write, kills 2 linesHiltjo Posthuma
2016-05-02cache 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-01small code cleanup: no need for status variableHiltjo Posthuma
2016-05-01atom feed: use published for author commit date, updated for committer dateHiltjo Posthuma
this is the same as cgit.
2016-05-01fix 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-01README: minor updateHiltjo Posthuma
2016-05-01fix path join '/'Hiltjo Posthuma
add joinpath() function to handle this.
2016-05-01code cleanup + style, functionally equivalentHiltjo Posthuma
2016-04-30layout: right align lines changed count in diffstatHiltjo Posthuma
2016-04-30optimization: suppress large diffsHiltjo Posthuma
the values are arbitrary, these can be tweaked later if needed.
2016-04-30optimization: read stats once and remember itHiltjo Posthuma
for an initial run and new commits this speeds stagit up a bit: on an initial run of sbase goes from about 4 seconds to 2.8 on my machine. now we can't use statsbuf, so create the stats string ourselves, while at it color the + and - using a style (can be disabled for the color-haters out there ;)).
2016-04-29example.sh: fix: sort list (regression from simplifying the script)Hiltjo Posthuma
2016-04-29whoops, module is m---------Hiltjo Posthuma
2016-04-29submodule supportHiltjo Posthuma
- detect .gitmodules file for submodules, add a link "submodules" to the top menu. - link each submodule to the .gitmodules file in HEAD. - revert the special style for modules, but list it as a file "m---------", don't show the line/filesize though, it is not a file.
2016-04-29suppress meaningless error codes when a repo can't be opened (similar to ↵Hiltjo Posthuma
stagit-index)
2016-04-29improve example, remove sort hackHiltjo Posthuma
2016-04-29make submodule link black, easier to readHiltjo Posthuma
this is also the same color as a bare repo without a link.
2016-04-29minor style fixHiltjo Posthuma