- 09 May, 2022 1 commit
-
-
Originally introduced in: 776a6a8e This test case has recently been fixed in bdab2238, but that fix will only last for a year. Next year the same problem will crop up and the test will need to be re-edited. This is not ideal as - This test case becomes an unnecessary burden for developers - Downstream distros or even just users who want to build older versions of libgit2 are guaranteed to have this test fail Furthermore, this test case is entirely unnecessary, as the functionality that was originally (see 776a6a8e) intended to be tested is well-covered by subsequent tests which specify a date instead of a "x ago" specification.
Carl Dong committed
-
- 03 May, 2022 1 commit
-
-
The dates we use in `refs::revparse::date` has just passed the ten years, so now everything is beyond ten years, leading to an unexpected commit being returned. Adjust it to 11 years so it all looks fine again.
Carlos Martín Nieto committed
-
- 25 Apr, 2022 3 commits
-
-
cli: clone
Edward Thomson committed -
Fix missing include
Edward Thomson committed -
remote: Delete a now-inexistent API declaration
Edward Thomson committed
-
- 18 Apr, 2022 1 commit
-
-
sha256: refactoring in preparation for sha256
Edward Thomson committed
-
- 16 Apr, 2022 1 commit
-
-
Christian Schlack committed
-
- 14 Apr, 2022 4 commits
-
-
6fc6eeb6 replaced the remote options with `git_remote_connect_options`. The function definitions were removed, but one function declaration remained, causing linker errors if one tried to use it. This change removes the declaration of `git_transport_smart_proxy_option` to better reflect reality.
lhchavez committed -
Edward Thomson committed
-
Provide a mechanism to add a signal handler for Unix or Win32.
Edward Thomson committed -
Provide a class that will display progress information to the console. Initially, it contains callbacks for fetch progress and checkout progress.
Edward Thomson committed
-
- 12 Apr, 2022 7 commits
-
-
Validate repository directory ownership
Edward Thomson committed -
Introduce the `GIT_OPT_SET_OWNER_VALIDATION` option, so that users can disable repository ownership validation.
Edward Thomson committed -
Obey the `safe.directory` configuration variable if it is set in the global or system configuration. (Do not try to load this from the repository configuration - to avoid malicious repositories that then mark themselves as safe.)
Edward Thomson committed -
Pull the global configuration loader out of the symlink check so that it can be re-used.
Edward Thomson committed -
Test that we prevent opening directories that are not owned by ourselves.
Edward Thomson committed -
Provide a mock for file ownership for testability.
Edward Thomson committed -
Ensure that the repository directory is owned by the current user; this prevents us from opening configuration files that may have been created by an attacker.
Edward Thomson committed
-
- 11 Apr, 2022 1 commit
-
-
Provide individual file ownership checks for both the current user and the system user, as well as a combined current user and system user check.
Edward Thomson committed
-
- 10 Apr, 2022 17 commits
-
-
The indexer expects raw oid data, provide it.
Edward Thomson committed -
A multi-pack index uses raw oid data, use a byte array to index into them.
Edward Thomson committed -
The index contains entries with raw oid data, use a byte array for the raw entry data.
Edward Thomson committed -
A packfile contains arrays of raw oid data, use a byte array to index into them.
Edward Thomson committed -
The commit graph contains arrays of raw oid data, use a byte array to index into them.
Edward Thomson committed -
Now that oids are type-aware, they use their type to understand how many bytes to copy. Some callers may need to copy the raw bytes of the object id. This is equivalent to a memcpy that is a little more semantic.
Edward Thomson committed -
Edward Thomson committed
-
We will talk about "raw" oids as untyped blobs of data; use a name for the comparison function that is in keeping with that.
Edward Thomson committed -
Create an object id from raw data instead of casting.
Edward Thomson committed -
Don't write the object id structure, write its raw oid data.
Edward Thomson committed -
We explicitly want to write on the id data, not the beginning of the object data, which may contain other information in the future.
Edward Thomson committed -
We explicitly want to hash on the id data, not the beginning of the object data, which may contain other information in the future.
Edward Thomson committed -
Don't assume that a `git_oid` is a particular size; allocate `sizeof(git_oid)` instead.
Edward Thomson committed -
A tree entry previously pointed directly into the object id within the tree object itself; this is useful to avoid any unnecessary memory copy (and an unnecessary use of 40 bytes per tree entry) but difficult if we change the underlying `git_oid` object to not simply be a raw object id but have additional structure. This commit moves the `git_oid` directly into the tree entry; this simplifies the tree entry creation from user data. We now copy the `git_oid` into place when parsing.
Edward Thomson committed -
midx: Fix an undefined behavior (left-shift signed overflow)
Edward Thomson committed -
Fix crash when regenerating a patch with unquoted spaces in filename
Edward Thomson committed -
Edward Thomson committed
-
- 06 Apr, 2022 4 commits
-
-
tests: support flaky stat
Edward Thomson committed -
The 32-bit ARM QEMU builds are flaky when running `lstat`. Disable those testing `lstat`'s `st_size` temporarily.
Edward Thomson committed -
diff: don't stat empty file on arm32 (flaky test)
Edward Thomson committed -
sha256: support dynamically loaded openssl
Edward Thomson committed
-