- 04 Nov, 2022 3 commits
-
-
The server and client negotiate a single hostkey, but the "best" cipher may not be the one for which we have an entry in `known_hosts`. This can lead to us not finding the key in known_hosts even though we should be connecting. Instead here we look up the hostname with a nonsense key to perform a lookup in the known hosts and set that. This is roughly what the OpenSSH client does as well.
Carlos Martín Nieto committed -
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 -
Currently just the one test needs it. The ssh-rsa makes sure we're asking for the cipher we find in `known_hosts` as that won't be the one selected by default. This will be relevant in later changes.
Carlos Martín Nieto committed
-
- 02 Nov, 2022 1 commit
-
-
It turns out this has been available in libssh2 for a long time and we should have been verifying this the whole time.
Carlos Martín Nieto 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 7 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
-