- 18 Nov, 2022 1 commit
-
-
commit-graph: only verify csum on git_commit_graph_open().
Edward Thomson committed
-
- 10 Nov, 2022 1 commit
-
-
This should resolve some issues with UBSan builds by using unsigned 64-bit integers for all arithmetic until we finally convert to an offset or size value. Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Derrick Stolee committed
-
- 03 Nov, 2022 1 commit
-
-
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
-
- 18 Oct, 2022 1 commit
-
-
The path to the default CLI output has changed, update it.
Edward Thomson committed
-
- 21 Sep, 2022 1 commit
-
-
Support non-cmake builds with an in-tree `experimental.h`
Edward Thomson committed
-
- 19 Sep, 2022 14 commits
-
-
Not everybody builds libgit2 using cmake; provide an `experimental.h` with no experiments configured for those that do not. To support this, we also now create compile definitions for experimental functionality, to supplant that empty `experimental.h`. cmake will continue to generate the proper `experimental.h` file for use with `make install`.
Edward Thomson committed -
#6366: When a worktree is missing, return GIT_ENOTFOUND.
Edward Thomson committed -
Actually `cl_skip` the sha256 tests when we're not compiled for sha256, instead of passing them.
Edward Thomson committed -
Don't fail the whole clone if you can't find a default branch
Edward Thomson committed -
Delete create.c.bak
Edward Thomson committed -
Fix memory leak
Edward Thomson committed -
Fixes #6365 : Uppercase windows.h include fails build in case-sensitive OS
Edward Thomson committed -
fix compile on Windows with -DWIN32_LEAN_AND_MEAN
Edward Thomson committed -
Edward Thomson committed
-
winhttp: support long custom headers
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 -
Only allow the remote default branch checking to fail when the remote default branch doesn't exist (`git_remote__default_branch` returns `GIT_ENOTFOUND`). If there was any other type of error - for example, an allocation failure - we should not swallow that and continue to fail. This allows us to support the case when a remote has not advertised a HEAD -- this is possible, for example, when the remote has constrained the caller to a particular namespace. But other remote failures remain as failures.
Edward Thomson committed -
Edward Thomson committed
-
- 16 Sep, 2022 3 commits
-
-
CI Improvements
Edward Thomson committed -
We previously (correctly) cleaned up the git daemon and SSH server, but failed to clean up our bespoke HTTP server and HTTP proxies. Capture their PIDs on process creation and kill them when we shut down.
Edward Thomson committed -
GitHub has deprecated macOS 10.15; move to their new macOS 11 build servers.
Edward Thomson committed
-
- 06 Sep, 2022 1 commit
-
-
Laurence McGlashan committed
-
- 31 Aug, 2022 1 commit
-
-
Miguel Arroz committed
-
- 14 Aug, 2022 1 commit
-
-
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed
-
- 10 Aug, 2022 1 commit
-
-
Vinz2008 committed
-
- 08 Aug, 2022 1 commit
-
-
ensure the needed wincrypt.h is included
Christoph Cullmann committed
-
- 30 Jul, 2022 1 commit
-
-
In commit 6bb35878 ("clone: set refs/remotes/origin/HEAD to default branch when branch is specified, attempt 2") libgit2 was changed to set the default remote branch when one was copied. But it makes update_head_to_branch() return an error if the origin doesn't even *have* a HEAD in the first place, since git_remote_default_branch() will fail. That's entirely wrong, and means that you cannot do "git_clone()" of a particular branch on a remote repository when that remote doesn't have a default branch at all. So don't set the error code. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Linus Torvalds committed
-
- 22 Jul, 2022 2 commits
-
-
Kevin Saul committed
-
Kevin Saul committed
-
- 19 Jul, 2022 1 commit
-
-
clar: remove ftrunacte from libgit2 tests
Edward Thomson committed
-
- 15 Jul, 2022 1 commit
-
-
Peter Pettersson committed
-
- 14 Jul, 2022 8 commits
-
-
tests: skip flaky-ass googlesource tests
Edward Thomson committed -
sha256: indirection for experimental functions
Edward Thomson committed -
The experimental function signature is only available when `GIT_EXPERIMENTAL_SHA256` is enabled.
Edward Thomson committed -
RFC: SHA256 proof of concept
Edward Thomson committed -
Edward Thomson committed
-
meta: update version number to v1.6.0-alpha
Edward Thomson committed -
Edward Thomson committed
-
v1.5.0
Edward Thomson committed
-