Age | Commit message (Collapse) | Author | |
---|---|---|---|
2025-02-23 | Changed to fit my websiteHEADmaster | Shipwreckt | |
2025-02-23 | small changes | Shipwreckt | |
2025-02-22 | Dumbed things down in README and added some themes | Shipwreckt | |
2024-04-12 | bump LICENSE year | Hiltjo Posthuma | |
2023-04-10 | in Atom (RFC4287) an atomTextConstruct specifies the type text as the default | Hiltjo Posthuma | |
This saves a few bytes. | |||
2022-08-16 | prefix usage with the common prefix "usage: " | Hiltjo Posthuma | |
2022-08-07 | bump version to 1.2 | Hiltjo Posthuma | |
2022-07-26 | Makefile: add workaround for distros still using older libgit2 versions | Hiltjo Posthuma | |
Noticed on Void Linux, Debian, etc. | |||
2022-05-27 | Revert "remain compatible with slightly older libgit versions for now" | Hiltjo Posthuma | |
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. | |||
2022-05-24 | remain compatible with slightly older libgit versions for now | Hiltjo Posthuma | |
2022-05-24 | Allow git to run on an other user repository | Anton Lindqvist | |
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/ | |||
2022-04-02 | bump version to 1.1 | Hiltjo Posthuma | |
2022-03-19 | improve stream read and write error handling | Hiltjo Posthuma | |
2022-03-19 | add dark mode support for the example stylesheet | Hiltjo Posthuma | |
2022-01-03 | bump LICENSE year | Hiltjo Posthuma | |
2022-01-03 | libgit2 config opts: set the search to an empty path | Hiltjo Posthuma | |
Otherwise this would search outside the unveiled paths and cause an unveil violation. Reported by Anton Lindqvist, thanks! | |||
2021-12-14 | do not percent-encode: ',' or '-' or '.' it looks ugly | Hiltjo Posthuma | |
2021-11-30 | bump version to 1.0 | Hiltjo Posthuma | |
2021-11-16 | Print the number of remaining commits | Quentin Rameau | |
2021-11-16 | ignore '\r' in writing the blob aswell | Hiltjo Posthuma | |
Follow-up on commit 295e4b8cb95114bb74b582c7332bc4c171f36dd3 which changed it for diffs. | |||
2021-11-16 | percent encode characters in path names | Hiltjo Posthuma | |
Paths could contain characters like # (fragment), '?', control-characters, etc. | |||
2021-11-16 | encode the name, it could contain XML entities | Hiltjo Posthuma | |
Like ", which would unquote the attribute value. Crazy but true. | |||
2021-08-03 | man pages: add EXAMPLES section | Hiltjo Posthuma | |
2021-07-31 | small typo fixes and url -> URL | Hiltjo Posthuma | |
2021-05-27 | bump version to 0.9.6 | Hiltjo Posthuma | |
2021-05-18 | man page: codemadness is the primary server. make logo brandless (not 2f30) | Hiltjo Posthuma | |
2021-05-18 | README: improve a bit the usage examples | Quentin Rameau | |
2021-05-05 | do not simplify the history by first-parent | Hiltjo Posthuma | |
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! | |||
2021-03-25 | tiny comment change | Hiltjo Posthuma | |
2021-03-25 | add function to print a single line, ignoring \r and \n | Hiltjo Posthuma | |
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". | |||
2021-03-19 | add meta viewport on stagit-index too | Hiltjo Posthuma | |
Patch by Oscar Benedito, thanks! | |||
2021-03-14 | bump version to 0.9.5 | Hiltjo Posthuma | |
2021-03-05 | LICENSE: update | Hiltjo Posthuma | |
2021-03-05 | change STAGIT_BASEURL to an -u option and also update the example script | Hiltjo Posthuma | |
2021-03-05 | add $STAGIT_BASEURL environment variable to make Atom links absolute | Hiltjo Posthuma | |
With feedback from adc, thanks! | |||
2021-03-05 | README: mention tags.xml feature | Hiltjo Posthuma | |
2021-01-09 | micro-optimization: fputc (function) -> putc (macro/inline function) | Hiltjo Posthuma | |
2021-01-08 | LICENSE: bump year | Hiltjo Posthuma | |
2020-11-28 | fix warning with libgit2 v0.99+, remain compatible with older versions | Hiltjo Posthuma | |
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 <augustin@augfab.fr>, thanks! | |||
2020-11-23 | add abbreviated commit hash to submodule file | Oscar Benedito | |
2020-11-15 | add meta viewport for scaling on mobile | Hiltjo Posthuma | |
Patch by Augustin Fabre <augustin@augfab.fr> | |||
2020-11-15 | style.css: improve contrast | Hiltjo Posthuma | |
https://webaim.org/resources/contrastchecker/?fcolor=555555&bcolor=FFFFFF Patch by Augustin Fabre <augustin@augfab.fr> and adapted. | |||
2020-11-15 | use size_t to count lines | Hiltjo Posthuma | |
2020-11-15 | avoid shadowed `name' global variable | Hiltjo Posthuma | |
by Augustin Fabre <augustin@augfab.fr> | |||
2020-11-15 | refs_cmp: remove unneeded cast | Hiltjo Posthuma | |
2020-11-15 | use LEN() macros for arrays | Hiltjo Posthuma | |
from Augustin Fabre <augustin@augfab.fr> | |||
2020-08-17 | bump version to 0.9.4 | Hiltjo Posthuma | |
2020-08-10 | fix a small memleak in writeatom() | Hiltjo Posthuma | |
non-tag references were not freed. | |||
2020-08-08 | stagit-index: remove unveil support for argv | Hiltjo Posthuma | |
This can reach the unveil argument limits and it is not a good case for using unveil. | |||
2020-08-06 | fix submodule lookup in bare repos | kst | |
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 |