Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | code cleanup + style, functionally equivalent | Hiltjo Posthuma | 2016-05-01 | 2 | -20/+12 |
| | |||||
* | layout: right align lines changed count in diffstat | Hiltjo Posthuma | 2016-04-30 | 1 | -1/+1 |
| | |||||
* | optimization: suppress large diffs | Hiltjo Posthuma | 2016-04-30 | 1 | -0/+8 |
| | | | | the values are arbitrary, these can be tweaked later if needed. | ||||
* | optimization: read stats once and remember it | Hiltjo Posthuma | 2016-04-30 | 2 | -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 Posthuma | 2016-04-29 | 1 | -2/+2 |
| | |||||
* | whoops, module is m--------- | Hiltjo Posthuma | 2016-04-29 | 1 | -1/+1 |
| | |||||
* | submodule support | Hiltjo Posthuma | 2016-04-29 | 2 | -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 Posthuma | 2016-04-29 | 1 | -1/+1 |
| | | | | stagit-index) | ||||
* | improve example, remove sort hack | Hiltjo Posthuma | 2016-04-29 | 1 | -17/+4 |
| | |||||
* | make submodule link black, easier to read | Hiltjo Posthuma | 2016-04-29 | 1 | -1/+1 |
| | | | | this is also the same color as a bare repo without a link. | ||||
* | minor style fix | Hiltjo Posthuma | 2016-04-29 | 1 | -1/+1 |
| | |||||
* | Fix null pointer access for submodules in writefilestree | Quentin Rameau | 2016-04-29 | 1 | -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 submodules | Hiltjo Posthuma | 2016-04-29 | 1 | -4/+6 |
| | | | | this will make it look similar to cgit. show mode as "m---------" | ||||
* | Don't fail on submodules | z3bra | 2016-04-29 | 2 | -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 error | Hiltjo Posthuma | 2016-04-27 | 2 | -2/+4 |
| | |||||
* | resolve absolute paths to repodir, remove basename just use strrchr. | Hiltjo Posthuma | 2016-04-27 | 2 | -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 function | Hiltjo Posthuma | 2016-04-27 | 1 | -11/+0 |
| | |||||
* | fix: link to line in hunk if a patch has multiple files and hunks | Hiltjo Posthuma | 2016-04-27 | 1 | -5/+5 |
| | | | | thanks to lostd for reporting it! | ||||
* | clean generated tarball too | sin | 2016-03-25 | 1 | -1/+1 |
| | |||||
* | Makefile: use NAME variable, suggested by Quentin0.3.1 | Hiltjo Posthuma | 2016-03-20 | 1 | -6/+6 |
| | |||||
* | Makefile: separate CPPFLAGS, compile optimized build by default | Hiltjo Posthuma | 2016-03-20 | 2 | -10/+11 |
| | |||||
* | improve make dist, thanks Quentin Rameau | Hiltjo Posthuma | 2016-03-20 | 1 | -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 Posthuma | 2016-03-20 | 1 | -1/+1 |
| | |||||
* | Choose better colors for the diff page0.3 | FRIGN | 2016-03-01 | 1 | -3/+3 |
| | | | | | This makes it easier to read on the light background and is not as straining in the eyes. | ||||
* | add titles to pages, summary for commit messages, filename for files | Hiltjo Posthuma | 2016-03-01 | 1 | -6/+9 |
| | |||||
* | fix right-alignment of "Files" column | Hiltjo Posthuma | 2016-02-26 | 1 | -1/+1 |
| | |||||
* | Use the recommended HTML5 document type. | lostd | 2016-02-26 | 2 | -2/+2 |
| | |||||
* | check path truncation | Hiltjo Posthuma | 2016-02-24 | 3 | -25/+56 |
| | | | | be strict about it | ||||
* | config.mk: add -D_DEFAULT_SOURCE to commented builds | Hiltjo Posthuma | 2016-02-24 | 1 | -2/+2 |
| | |||||
* | atom feed: add link, move content order to bottom | Hiltjo Posthuma | 2016-02-23 | 1 | -7/+11 |
| | | | | | NOTE: using relative links violates the Atom specification, but relative links are convenient aswell. | ||||
* | make printshowfile more generic and like other functions | Hiltjo Posthuma | 2016-02-23 | 2 | -15/+16 |
| | |||||
* | just use Name as first column, thanks quinq for the suggestion | Hiltjo Posthuma | 2016-01-21 | 1 | -3/+2 |
| | |||||
* | Rename “Age” column headers into “Date” | Quentin Rameau | 2016-01-21 | 1 | -2/+2 |
| | |||||
* | fix file tree handling | Quentin Rameau | 2016-01-19 | 1 | -8/+10 |
| | | | | | Do not forget to keep previous path when recursing or we end up with filenames only. | ||||
* | use 'dirname' as error message for xdirname | z3bra | 2016-01-18 | 1 | -1/+1 |
| | |||||
* | fix file size byte unit suffix | Quentin Rameau | 2016-01-13 | 1 | -2/+2 |
| | | | | Correct suffix for byte is B, b is for bit. | ||||
* | stop glibc complaining about _BSD_SOURCE being deprecated | Quentin Rameau | 2016-01-13 | 1 | -1/+1 |
| | |||||
* | replace file size with line count for text files | Quentin Rameau | 2016-01-13 | 2 | -9/+17 |
| | | | | | Keep the number of line when writing text blobs and print it in the index file tree instead of the size. Still print the size otherwise. | ||||
* | Rename Refs/branches to Refs | sin | 2016-01-13 | 1 | -1/+1 |
| | |||||
* | example.sh: fix: remove error mode, would stop if a dir was invalid | Hiltjo Posthuma | 2016-01-08 | 1 | -9/+5 |
| | | | | mkdir -p makes the directory always, so no need to check. | ||||
* | example.sh: fix go to appropriate dir | Hiltjo Posthuma | 2016-01-08 | 1 | -1/+2 |
| | |||||
* | implify and restructure code | Hiltjo Posthuma | 2016-01-08 | 1 | -70/+37 |
| | | | | | | - remove commit message and lines changed from refs page. - resolve HEAD once. - dont make filepath in writeblob() | ||||
* | stagit-index: clarify order of the list | Hiltjo Posthuma | 2016-01-08 | 1 | -1/+4 |
| | |||||
* | example.sh: add index-time.html, list sorted by time, fix reposdir '/' | Hiltjo Posthuma | 2016-01-08 | 1 | -4/+16 |
| | |||||
* | premature version bumperation (0.3) for git | Hiltjo Posthuma | 2016-01-08 | 1 | -1/+1 |
| | |||||
* | atom: add newline after date and before message0.2 | Hiltjo Posthuma | 2016-01-07 | 1 | -3/+4 |
| | |||||
* | update man pages: document stripping of .git suffix | Hiltjo Posthuma | 2016-01-06 | 2 | -3/+5 |
| | |||||
* | strip .git suffix from name | Hiltjo Posthuma | 2016-01-06 | 2 | -16/+21 |
| | | | | also free stripped_name in the case of stagit-index | ||||
* | extra whitespace | Hiltjo Posthuma | 2016-01-06 | 2 | -3/+3 |
| | |||||
* | Update README - it also works on FreeBSD | sin | 2016-01-06 | 1 | -1/+1 |
| |