aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* config.mk: remove -lcHiltjo Posthuma2016-07-021-1/+1
| | | | | | | | | | | 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."
* treat an empty repo (without a HEAD) as validHiltjo Posthuma2016-05-291-5/+10
| | | | and create the standard files. Disable caching if there is no HEAD.
* improve example: strip .git suffixHiltjo Posthuma2016-05-291-2/+3
| | | | | | | 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!
* refs_cmp: simplify check, functionally the sameHiltjo Posthuma2016-05-211-6/+3
|
* check if LICENSE, README and .gitmodules is a file blobHiltjo Posthuma2016-05-081-3/+8
| | | | don't link to directory trees, etc. Thanks 600360 for reporting it!
* release 0.40.4Hiltjo Posthuma2016-05-071-1/+1
|
* update TODOHiltjo Posthuma2016-05-071-2/+3
|
* simplify, id is unusedHiltjo Posthuma2016-05-071-3/+2
|
* simplify, no need for gotoHiltjo Posthuma2016-05-071-5/+3
|
* improve stagit.1 documentation, reword and explain caching behaviourHiltjo Posthuma2016-05-071-8/+17
|
* consistency for messages for special-case in diffstatHiltjo Posthuma2016-05-071-4/+4
|
* fix error in "code cleanup" commit 9328d2690e118127bcaa5cf9f665d8e7711f7a03Hiltjo Posthuma2016-05-071-1/+0
| | | | | ... the loop was simplified, but forgot to remove p++ (double used) while rebasing the change.
* fix and simplify time offsetHiltjo Posthuma2016-05-061-8/+7
|
* make diffstat files an anchor (jump to delta)Hiltjo Posthuma2016-05-061-4/+4
|
* fix joinpath(): use of global 'repodir', should be 'path'Hiltjo Posthuma2016-05-032-34/+29
| | | | use joinpath for another case.
* fix regression from last commitHiltjo Posthuma2016-05-031-1/+1
|
* code cleanupHiltjo Posthuma2016-05-032-48/+21
|
* remove config.h, add options to stagit.cHiltjo Posthuma2016-05-033-7/+6
|
* add OpenBSD pledge(2) support using -DUSE_PLEDGEHiltjo Posthuma2016-05-033-3/+29
|
* example.sh: use cache fileHiltjo Posthuma2016-05-021-1/+1
|
* style: write atom feed end in one write, kills 2 linesHiltjo Posthuma2016-05-021-3/+1
|
* cache support (-c option)Hiltjo Posthuma2016-05-022-41/+130
| | | | | | | | "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).
* small code cleanup: no need for status variableHiltjo Posthuma2016-05-011-4/+3
|
* atom feed: use published for author commit date, updated for committer dateHiltjo Posthuma2016-05-011-1/+8
| | | | this is the same as cgit.
* fix times (and timezone)Hiltjo Posthuma2016-05-012-20/+30
| | | | | | - in the index and log show the short time (GMT). - in the Atom feed use GMT time. - for commits show the time + offset.
* README: minor updateHiltjo Posthuma2016-05-011-1/+2
|
* fix path join '/'Hiltjo Posthuma2016-05-012-44/+37
| | | | add joinpath() function to handle this.
* code cleanup + style, functionally equivalentHiltjo Posthuma2016-05-012-20/+12
|
* layout: right align lines changed count in diffstatHiltjo Posthuma2016-04-301-1/+1
|
* optimization: suppress large diffsHiltjo Posthuma2016-04-301-0/+8
| | | | the values are arbitrary, these can be tweaked later if needed.
* optimization: read stats once and remember itHiltjo Posthuma2016-04-302-39/+149
| | | | | | | | | 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 ;)).
* example.sh: fix: sort list (regression from simplifying the script)Hiltjo Posthuma2016-04-291-2/+2
|
* whoops, module is m---------Hiltjo Posthuma2016-04-291-1/+1
|
* submodule supportHiltjo Posthuma2016-04-292-19/+9
| | | | | | | - 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.
* suppress meaningless error codes when a repo can't be opened (similar to ↵Hiltjo Posthuma2016-04-291-1/+1
| | | | stagit-index)
* improve example, remove sort hackHiltjo Posthuma2016-04-291-17/+4
|
* make submodule link black, easier to readHiltjo Posthuma2016-04-291-1/+1
| | | | this is also the same color as a bare repo without a link.
* minor style fixHiltjo Posthuma2016-04-291-1/+1
|
* Fix null pointer access for submodules in writefilestreeQuentin Rameau2016-04-291-6/+11
| | | | | Do not try to set a link to submodules from bare repo as we can't get the actual url.
* tweak style of showing submodulesHiltjo Posthuma2016-04-291-4/+6
| | | | this will make it look similar to cgit. show mode as "m---------"
* Don't fail on submodulesz3bra2016-04-292-29/+44
| | | | | | | | | | Submodules will get listed prefixed with a '@', using a specific CSS class for styling. The href will be set to the url of the submodule. Filesize will appear as 0 and filemode will not be printed to avoid an awkward mode: "?---------". In writefilestree, we don't return anymore if an entry can't be categorized as an object, but rather, fail if we can't retrieve its name.
* fix: check gmtime, can return NULL on errorHiltjo Posthuma2016-04-272-2/+4
|
* resolve absolute paths to repodir, remove basename just use strrchr.Hiltjo Posthuma2016-04-272-52/+17
| | | | | | | - resolve repodir, for example: stagit-index ../ used to use ".." as the name, now it will resolve to the real directory name. - just use strrchr(path, '/') instead of basename, '/' path separator is now used.
* stagit-index: remove unused efopen functionHiltjo Posthuma2016-04-271-11/+0
|
* fix: link to line in hunk if a patch has multiple files and hunksHiltjo Posthuma2016-04-271-5/+5
| | | | thanks to lostd for reporting it!
* clean generated tarball toosin2016-03-251-1/+1
|
* Makefile: use NAME variable, suggested by Quentin0.3.1Hiltjo Posthuma2016-03-201-6/+6
|
* Makefile: separate CPPFLAGS, compile optimized build by defaultHiltjo Posthuma2016-03-202-10/+11
|
* improve make dist, thanks Quentin RameauHiltjo Posthuma2016-03-201-8/+8
| | | | | | | based on a patch from Quentin with some additions. - don't build before make dist - package in directory: stagit-VERSION.
* premature version bumperation, 0.4 (unreleased)Hiltjo Posthuma2016-03-201-1/+1
|