- 02 Mar, 2023 2 commits
-
-
Ensure that when all files beneath a directory are ignored that we add the files when FORCE is specified.
Edward Thomson committed -
Ensure that when all files beneath a directory are ignored that we actually ignore the files.
Edward Thomson committed
-
- 01 Mar, 2023 1 commit
-
-
`git_odb_open` was erroneously removed during a refactoring; add it back.
Edward Thomson committed
-
- 27 Feb, 2023 3 commits
-
-
Edward Thomson committed
-
The `git_fs_path_owner_is_current_user` expects the root dir on unix (`/`) to be owned by a non-current user. This makes sense unless root (or euid == 0) is running the tests, which often happens during distro build / packaging scripts. Allow them to run the tests.
Edward Thomson committed -
This reverts commit 43e84e24.
Edward Thomson committed
-
- 24 Feb, 2023 1 commit
-
-
Edward Thomson committed
-
- 23 Feb, 2023 1 commit
-
-
The remote::httpproxy::env test (correctly) reset the environment before running; however the other tests are also impacted by the environment and need to have it isolated.
Edward Thomson committed
-
- 17 Feb, 2023 1 commit
-
-
Miguel Arroz committed
-
- 15 Feb, 2023 1 commit
-
-
Edward Thomson committed
-
- 14 Feb, 2023 1 commit
-
-
Fixes issue #6156. Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed
-
- 13 Feb, 2023 2 commits
-
-
This prevents GIT_MMAP_VALIDATE from failing. This also prevents git_diff_file_content__unload from attempting to free git_str__initstr.
Iliyas Jorio committed -
The longest path within a git repository is now a SHA256 format packfile. Adjust our max length checking to match.
Edward Thomson committed
-
- 12 Feb, 2023 9 commits
-
-
Edward Thomson committed
-
This is much of the plumbing for the object database to support SHA256, and for objects to be able to parse SHA256 versions of themselves.
Edward Thomson committed -
Edward Thomson committed
-
Teach the packfile machinery to cope with SHA256.
Edward Thomson committed -
In clar, an underscore is meaningful; avoid using it incorrectly / unnecessarily.
Edward Thomson committed -
This is a conversion of the testrepo.git to SHA256 support.
Edward Thomson committed -
Edward Thomson committed
-
Ensure that we maintain the `core.repositoryFormatVersion` value instead of always overwriting it with the default.
Edward Thomson committed -
Teach the repository about the `objectformat` extension, supporting `sha1` always and `sha256` when the experimental sha256 support is active.
Edward Thomson committed
-
- 09 Feb, 2023 6 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
Teach the clone tests how to clone from github.com, when given a keypair with a passphrase and known_hosts data. This allows us to better exercise our known_hosts checking and ensure that the lifecycle of the certificate callback matches our expectations.
Edward Thomson committed -
Use a dummy home directory for tests to avoid user data leaking into test execution.
Edward Thomson committed -
Now that we've split the notion of the home directory from the global configuration store, our tests should use the appropriate one based on what they're doing.
Edward Thomson committed -
The windows sysdir functions are libgit2-specific and for git compatibility only; remove them from the shared util directory and bring them into the libgit2 source tree.
Edward Thomson committed
-
- 25 Jan, 2023 3 commits
-
-
Abstract time counter for tests; use gettimeofday on Unix and GetTickCount on Windows.
Edward Thomson committed -
Edward Thomson committed
-
Update to the latest main version of clar, which includes improved xml summary output.
Edward Thomson committed
-
- 25 Nov, 2022 1 commit
-
-
Verify that trying to update submodule which has been configured but not added does return an error. Issue #6433: git_submodule_update fails to update configured but missing submodule
tagesuhu committed
-
- 19 Nov, 2022 1 commit
-
-
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed
-
- 04 Nov, 2022 1 commit
-
-
We're currently running it as part of the online suite but that doesn't have any setup for ssh so we won't find the GitHub keys we set up during the test. It doesn't need the private key setup as we just want to make sure we see some auth request from the server, but with the addition of hostkey checking we're now seeing it fail when we skip these tests.
Carlos Martín Nieto committed
-
- 03 Nov, 2022 2 commits
-
-
Miguel Arroz committed
-
It is expensive to compute the sha1 of the entire commit-graph file each time we open it. Git only does this if it is re-writing the file. This patch will only verify the checksum when calling the external API git_commit_graph_open(), which explicitly says it opens and verifies the commit graph in the documentation. For internal library calls, we call git_commit_graph_get_file(), which mmaps the commit-graph file in read-only mode. Therefore it is safe to skip the validation check there. Tests were added to check that the validation works in the happy path, and prevents us from opening the file when validation fails. (Note from Derrick Stolee: This patch was applied internally at GitHub after we recognized the performance impact it had during an upgrade of libgit2. The original author left the company before we remembered to send it upstream.) Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Colin Stolley committed
-
- 01 Oct, 2022 1 commit
-
-
Kevin Saul committed
-
- 19 Sep, 2022 3 commits
-
-
Actually `cl_skip` the sha256 tests when we're not compiled for sha256, instead of passing them.
Edward Thomson committed -
Test that we can successfully clone a repository that is namespace scoped on the remote and does not advertise a HEAD. To do this, we must specify the branch to checkout.
Edward Thomson committed -
Test that we can successfully clone a repository that is namespace scoped to a bare repository locally. We need not specify a checkout branch in this case (obviously, since we do not check anything out in a bare clone).
Edward Thomson committed
-