aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: change () to {} consistentlyHiltjo Posthuma2017-03-251-5/+5
| | | | reported by tarug0, thanks!
* fix potential leak, found by clang-analyzerHiltjo Posthuma2017-03-121-0/+1
|
* fix memory leak of commitinfoHiltjo Posthuma2017-03-121-1/+1
|
* atom.xml: add newline before EOFHiltjo Posthuma2017-03-121-1/+1
|
* fix memory leak of commitinfo->parentHiltjo Posthuma2017-03-121-0/+1
|
* fix memory leak of blob objectHiltjo Posthuma2017-03-121-0/+1
|
* simplify/shorten pledge stubHiltjo Posthuma2017-03-122-10/+2
|
* reduce scope of repodir, remove unused branch parameterHiltjo Posthuma2017-03-122-7/+7
|
* bump version to 0.50.5Hiltjo Posthuma2017-01-051-1/+1
|
* also remove language and text direction attribute from <html>Hiltjo Posthuma2016-11-091-1/+1
|
* remove Content-Language: enHiltjo Posthuma2016-11-091-1/+1
| | | | thanks Aymeric Mansoux!
* stagit.1: also document linking to git submodules: .gitmodules fileHiltjo Posthuma2016-10-141-2/+2
|
* stagit.1: clarify README and LICENSE link creationHiltjo Posthuma2016-10-131-0/+3
| | | | thanks Solene Rapenne for the patch! (slightly modified)
* simplify example.sh, thanks emg for the suggestion!Hiltjo Posthuma2016-09-151-4/+4
|
* update LICENSEHiltjo Posthuma2016-07-201-1/+0
|
* 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)