Age | Commit message (Collapse) | Author |
|
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!
|
|
|
|
Patch by Augustin Fabre <augustin@augfab.fr>
|
|
https://webaim.org/resources/contrastchecker/?fcolor=555555&bcolor=FFFFFF
Patch by Augustin Fabre <augustin@augfab.fr> and adapted.
|
|
|
|
by Augustin Fabre <augustin@augfab.fr>
|
|
|
|
from Augustin Fabre <augustin@augfab.fr>
|
|
|
|
non-tag references were not freed.
|
|
This can reach the unveil argument limits and it is not a good case for using
unveil.
|
|
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
|
|
|
|
A separate Atom feed is helpful to ports maintainers to monitor new
tags/releases.
|
|
In general version tags are done in chronological order, so this will have a
better sorting for tagged (versioned) releases.
Request from Caltlgin Stsodaat and others, thanks!
|
|
|
|
|
|
|
|
|
|
|
|
The unveil() system call first appeared in OpenBSD 6.4.
For stagit it has the following properties now:
- stagit-index: only read-access to the file-system for the specified
directories/repositories.
- stagit: read-access to the specified directory/repository.
read-write and creation access to the current directory for the output files.
read-write and creation access to the specified cache file.
|
|
|
|
- remove double -c in .c.o target.
- remove config.mk abstraction.
- change LIBS and INCS to LIBGIT_INC and LIBGIT_LIB.
- use system cflags and ldflags, but allow the same override rules for porters.
|
|
|
|
|
|
- escape paths in diff line.
- escape path in anchor href attribute in files.html
|
|
POSIX says:
"If an output error was encountered, these functions shall return a negative
value and set errno to indicate the error."
|
|
- in case cd fails don't continue (don't write in previous directory).
- post-receive: quote $(pwd) in case it has spaces.
found by shellcheck tool.
|
|
|
|
change installed doc from /usr/local/share/stagit to /usr/local/share/doc/stagit
|
|
|
|
libgit2 commit:
https://github.com/libgit2/libgit2/commit/a27a4de6f8003961d38958893c6c637395c7cc04
|
|
|
|
This is almost always an underline. This improves accessibility.
Remove underline for patch chunks for readability.
|
|
|
|
this prevents showing files as renames when most (but not all) of the file was
changed.
|
|
|
|
- for license: LICENSE, LICENSE.md, COPYING.
- for readme: README, README.md.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this is because libgit uses curl which uses some initialization
checks, namely an IPv6 check which creates a socket.
|
|
... also clear all fields in the structure on failure.
This is not as big an optimization as stagit-gopher, because the diffstat is
displayed in the log, but the difference is still measurable.
|
|
- set the project name + '-' + tag name as prefix.
- allow '/' in the tag name.
- allow '-' as suffix in the tag.
|
|
|
|
|