Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | atom feed: use published for author commit date, updated for committer date | Hiltjo Posthuma | 2016-05-01 | 1 | -1/+8 |
| | | | | this is the same as cgit. | ||||
* | fix times (and timezone) | Hiltjo Posthuma | 2016-05-01 | 1 | -11/+27 |
| | | | | | | - in the index and log show the short time (GMT). - in the Atom feed use GMT time. - for commits show the time + offset. | ||||
* | fix path join '/' | Hiltjo Posthuma | 2016-05-01 | 1 | -21/+18 |
| | | | | add joinpath() function to handle this. | ||||
* | code cleanup + style, functionally equivalent | Hiltjo Posthuma | 2016-05-01 | 1 | -19/+11 |
| | |||||
* | 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 | 1 | -39/+147 |
| | | | | | | | | | 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 ;)). | ||||
* | whoops, module is m--------- | Hiltjo Posthuma | 2016-04-29 | 1 | -1/+1 |
| | |||||
* | submodule support | Hiltjo Posthuma | 2016-04-29 | 1 | -15/+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) | ||||
* | 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 | 1 | -29/+40 |
| | | | | | | | | | | 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 | 1 | -1/+2 |
| | |||||
* | resolve absolute paths to repodir, remove basename just use strrchr. | Hiltjo Posthuma | 2016-04-27 | 1 | -24/+8 |
| | | | | | | | - 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. | ||||
* | 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! | ||||
* | 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 | 1 | -1/+1 |
| | |||||
* | check path truncation | Hiltjo Posthuma | 2016-02-24 | 1 | -17/+38 |
| | | | | be strict about it | ||||
* | 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 | 1 | -15/+14 |
| | |||||
* | 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. | ||||
* | replace file size with line count for text files | Quentin Rameau | 2016-01-13 | 1 | -9/+16 |
| | | | | | 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 |
| | |||||
* | 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() | ||||
* | atom: add newline after date and before message0.2 | Hiltjo Posthuma | 2016-01-07 | 1 | -3/+4 |
| | |||||
* | strip .git suffix from name | Hiltjo Posthuma | 2016-01-06 | 1 | -9/+14 |
| | | | | also free stripped_name in the case of stagit-index | ||||
* | extra whitespace | Hiltjo Posthuma | 2016-01-06 | 1 | -2/+2 |
| | |||||
* | refs: only make commit link work for tags | Hiltjo Posthuma | 2016-01-06 | 1 | -3/+5 |
| | |||||
* | free obj | Hiltjo Posthuma | 2016-01-06 | 1 | -0/+3 |
| | |||||
* | old leftover: dont create log dir | Hiltjo Posthuma | 2016-01-06 | 1 | -1/+0 |
| | |||||
* | cleanup code a bit | Hiltjo Posthuma | 2016-01-06 | 1 | -31/+4 |
| | |||||
* | use git_reference for tags and branches, sort branches also | Hiltjo Posthuma | 2016-01-06 | 1 | -172/+113 |
| | | | | this removes some lines and somewhat simplifies it | ||||
* | fix cast to uintmax_t | Hiltjo Posthuma | 2016-01-06 | 1 | -2/+2 |
| | |||||
* | lookup commits of annotated tags | Hiltjo Posthuma | 2016-01-06 | 1 | -0/+16 |
| | | | | | NOTE: as described in the TODO this will be rewritten more cleanly later using git_reference_*. | ||||
* | fix warning, use intmax_t %ju, thanks stateless! | Hiltjo Posthuma | 2016-01-06 | 1 | -2/+2 |
| | |||||
* | fix relpath for log | Hiltjo Posthuma | 2016-01-05 | 1 | -2/+1 |
| | |||||
* | clone url is one line, strip newline | Hiltjo Posthuma | 2016-01-05 | 1 | -0/+1 |
| | |||||
* | refs: fix table id for tags | Hiltjo Posthuma | 2016-01-05 | 1 | -1/+1 |
| | |||||
* | refs: remove link, it may be broken for non-HEAD | Hiltjo Posthuma | 2016-01-05 | 1 | -2/+0 |
| | |||||
* | make hunk line itself a link | Hiltjo Posthuma | 2016-01-05 | 1 | -2/+2 |
| | |||||
* | revert log.html to log/head.html change | Hiltjo Posthuma | 2016-01-05 | 1 | -3/+6 |
| | |||||
* | fix newline after header | Hiltjo Posthuma | 2016-01-05 | 1 | -1/+1 |
| | |||||
* | fix link to commit from log page | Hiltjo Posthuma | 2016-01-04 | 1 | -3/+1 |
| |