Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | update styleHEADmaster | Dejavu Moe | 2023-05-14 | 3 | -0/+14 |
| | |||||
* | add meta info sample | Dejavu Moe | 2023-05-14 | 3 | -0/+3 |
| | |||||
* | update LICENSE | Dejavu Moe | 2023-05-14 | 1 | -0/+1 |
| | |||||
* | in Atom (RFC4287) an atomTextConstruct specifies the type text as the default | Hiltjo Posthuma | 2023-04-10 | 1 | -2/+2 |
| | | | | This saves a few bytes. | ||||
* | prefix usage with the common prefix "usage: " | Hiltjo Posthuma | 2022-08-16 | 2 | -2/+2 |
| | |||||
* | bump version to 1.2 | Hiltjo Posthuma | 2022-08-07 | 1 | -1/+1 |
| | |||||
* | Makefile: add workaround for distros still using older libgit2 versions | Hiltjo Posthuma | 2022-07-26 | 1 | -0/+4 |
| | | | | Noticed on Void Linux, Debian, etc. | ||||
* | Revert "remain compatible with slightly older libgit versions for now" | Hiltjo Posthuma | 2022-05-27 | 2 | -4/+0 |
| | | | | | | | | | This reverts commit 70541c5e2cbdc141ba94e76899aba5f07047cecf. Reported by Anton: The last commit[1] is not correct as GIT_OPT_SET_OWNER_VALIDATION is not a preprocessor directive but rather an enum. Causing the branch to never be entered. | ||||
* | remain compatible with slightly older libgit versions for now | Hiltjo Posthuma | 2022-05-24 | 2 | -0/+4 |
| | |||||
* | Allow git to run on an other user repository | Anton Lindqvist | 2022-05-24 | 2 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Reported by Anton: "Recent versions of libgit2 broke stagit for me due to the added opt-out GIT_OPT_SET_OWNER_VALIDATION configuration knob. My repositories are owned by root:vcs and I run stagit as another user which happens to be in vcs group but not the owner of the repository. Disabling the validation makes stagit work as expected again." Some notes: When using regular git it also provides a knob. This is due to a security concern in some cases, which is not applicable to stagit. git log somerepo fatal: unsafe repository ('somerepo' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory somerepo See also / related: - https://github.blog/2022-04-12-git-security-vulnerability-announced/ | ||||
* | bump version to 1.1 | Hiltjo Posthuma | 2022-04-02 | 1 | -1/+1 |
| | |||||
* | improve stream read and write error handling | Hiltjo Posthuma | 2022-03-19 | 2 | -9/+42 |
| | |||||
* | add dark mode support for the example stylesheet | Hiltjo Posthuma | 2022-03-19 | 1 | -0/+48 |
| | |||||
* | bump LICENSE year | Hiltjo Posthuma | 2022-01-03 | 1 | -1/+1 |
| | |||||
* | libgit2 config opts: set the search to an empty path | Hiltjo Posthuma | 2022-01-03 | 2 | -0/+8 |
| | | | | | | | Otherwise this would search outside the unveiled paths and cause an unveil violation. Reported by Anton Lindqvist, thanks! | ||||
* | do not percent-encode: ',' or '-' or '.' it looks ugly | Hiltjo Posthuma | 2021-12-14 | 2 | -4/+4 |
| | |||||
* | bump version to 1.0 | Hiltjo Posthuma | 2021-11-30 | 1 | -1/+1 |
| | |||||
* | Print the number of remaining commits | Quentin Rameau | 2021-11-16 | 1 | -11/+16 |
| | |||||
* | ignore '\r' in writing the blob aswell | Hiltjo Posthuma | 2021-11-16 | 1 | -2/+3 |
| | | | | | Follow-up on commit 295e4b8cb95114bb74b582c7332bc4c171f36dd3 which changed it for diffs. | ||||
* | percent encode characters in path names | Hiltjo Posthuma | 2021-11-16 | 2 | -6/+50 |
| | | | | Paths could contain characters like # (fragment), '?', control-characters, etc. | ||||
* | encode the name, it could contain XML entities | Hiltjo Posthuma | 2021-11-16 | 1 | -4/+6 |
| | | | | Like ", which would unquote the attribute value. Crazy but true. | ||||
* | man pages: add EXAMPLES section | Hiltjo Posthuma | 2021-08-03 | 2 | -2/+16 |
| | |||||
* | small typo fixes and url -> URL | Hiltjo Posthuma | 2021-07-31 | 3 | -4/+4 |
| | |||||
* | bump version to 0.9.6 | Hiltjo Posthuma | 2021-05-27 | 1 | -1/+1 |
| | |||||
* | man page: codemadness is the primary server. make logo brandless (not 2f30) | Hiltjo Posthuma | 2021-05-18 | 3 | -2/+3 |
| | |||||
* | README: improve a bit the usage examples | Quentin Rameau | 2021-05-18 | 1 | -3/+8 |
| | |||||
* | do not simplify the history by first-parent | Hiltjo Posthuma | 2021-05-05 | 2 | -3/+0 |
| | | | | | | | | | | Reference: https://libgit2.org/libgit2/#HEAD/group/revwalk/git_revwalk_simplify_first_parent Noticed on merge commits on: https://git.simple-cc.org/scc/ Reported by quinq, thanks! | ||||
* | tiny comment change | Hiltjo Posthuma | 2021-03-25 | 1 | -1/+1 |
| | |||||
* | add function to print a single line, ignoring \r and \n | Hiltjo Posthuma | 2021-03-25 | 1 | -1/+22 |
| | | | | | | | This can happen when there is no newline at end of file in the diff which is served by libgit2 as: "\n\ No newline at end of file\n". | ||||
* | add meta viewport on stagit-index too | Hiltjo Posthuma | 2021-03-19 | 1 | -0/+1 |
| | | | | Patch by Oscar Benedito, thanks! | ||||
* | bump version to 0.9.5 | Hiltjo Posthuma | 2021-03-14 | 1 | -1/+1 |
| | |||||
* | LICENSE: update | Hiltjo Posthuma | 2021-03-05 | 1 | -1/+0 |
| | |||||
* | change STAGIT_BASEURL to an -u option and also update the example script | Hiltjo Posthuma | 2021-03-05 | 4 | -13/+13 |
| | |||||
* | add $STAGIT_BASEURL environment variable to make Atom links absolute | Hiltjo Posthuma | 2021-03-05 | 2 | -3/+15 |
| | | | | With feedback from adc, thanks! | ||||
* | README: mention tags.xml feature | Hiltjo Posthuma | 2021-03-05 | 1 | -1/+2 |
| | |||||
* | micro-optimization: fputc (function) -> putc (macro/inline function) | Hiltjo Posthuma | 2021-01-09 | 2 | -8/+8 |
| | |||||
* | LICENSE: bump year | Hiltjo Posthuma | 2021-01-08 | 1 | -1/+1 |
| | |||||
* | fix warning with libgit2 v0.99+, remain compatible with older versions | Hiltjo Posthuma | 2020-11-28 | 1 | -8/+7 |
| | | | | | | | | | | | | | | | | | | | | git_blob_rawsize now returns with git_object_size_t (unsigned). This was git_off_t (signed). In my current version 1.1.0: types.h:typedef uint64_t git_object_size_t; v0.28.5: https://libgit2.org/libgit2/#v0.28.5/group/blob/git_blob_rawsize changed from v0.99 onwards: https://libgit2.org/libgit2/#v0.99.0/group/blob/git_blob_rawsize Fix: use size_t to remain compatible (with a possible warning in older versions), since git_object_size_t is a new defined type. This assumes size_t is atleast uint32_t / uint64_t size. Adapted from a patch by Augustin Fabre <[email protected]>, thanks! | ||||
* | add abbreviated commit hash to submodule file | Oscar Benedito | 2020-11-23 | 1 | -2/+5 |
| | |||||
* | add meta viewport for scaling on mobile | Hiltjo Posthuma | 2020-11-15 | 1 | -0/+1 |
| | | | | Patch by Augustin Fabre <[email protected]> | ||||
* | style.css: improve contrast | Hiltjo Posthuma | 2020-11-15 | 1 | -3/+3 |
| | | | | | | https://webaim.org/resources/contrastchecker/?fcolor=555555&bcolor=FFFFFF Patch by Augustin Fabre <[email protected]> and adapted. | ||||
* | use size_t to count lines | Hiltjo Posthuma | 2020-11-15 | 1 | -7/+7 |
| | |||||
* | avoid shadowed `name' global variable | Hiltjo Posthuma | 2020-11-15 | 1 | -3/+3 |
| | | | | by Augustin Fabre <[email protected]> | ||||
* | refs_cmp: remove unneeded cast | Hiltjo Posthuma | 2020-11-15 | 1 | -2/+1 |
| | |||||
* | use LEN() macros for arrays | Hiltjo Posthuma | 2020-11-15 | 1 | -2/+4 |
| | | | | from Augustin Fabre <[email protected]> | ||||
* | bump version to 0.9.4 | Hiltjo Posthuma | 2020-08-17 | 1 | -1/+1 |
| | |||||
* | fix a small memleak in writeatom() | Hiltjo Posthuma | 2020-08-10 | 1 | -10/+6 |
| | | | | non-tag references were not freed. | ||||
* | stagit-index: remove unveil support for argv | Hiltjo Posthuma | 2020-08-08 | 1 | -4/+0 |
| | | | | | This can reach the unveil argument limits and it is not a good case for using unveil. | ||||
* | fix submodule lookup in bare repos | kst | 2020-08-06 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | git_submodule_lookup does not work without a working tree [1], so the current approach fails to recognize any submodules in bare repos. Instead, notice that $ git ls-tree HEAD lists any submodules as commit objects regardless of a working tree. This is the only instance commit object is used in a tree, so we will use this to check for submodules. [1]: https://github.com/libgit2/libgit2/pull/4305/files | ||||
* | regression: do not show unset or empty tags | Hiltjo Posthuma | 2020-07-20 | 1 | -1/+1 |
| |