- 26 Jan, 2023 1 commit
-
-
Edward Thomson committed
-
- 25 Jan, 2023 8 commits
-
-
ci: always create test summaries, even on failure
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
When the dependent jobs fail -- possibly due to test failures -- we should still produce the job summary that shows those test failures.
Edward Thomson committed -
tests: update clar test runner
Edward Thomson committed -
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
-
- 24 Jan, 2023 3 commits
-
-
src: hide unused hmac() prototype
Edward Thomson committed -
The builtin hash uses the code verbatim from rfc6234, including prototypes for functions that we don't use (like hmac). Remove all unused prototypes to avoid collisions with things that an operating system might provide (like hmac).
Edward Thomson committed -
It conflicts with NetBSD's in its libc. Closes #6457
Thomas Klausner committed
-
- 20 Jan, 2023 9 commits
-
-
push: use resolved oid as the source
Edward Thomson committed -
211c9719 attempts to use the parsed OID but inverted the arguments to `git_oid_cpy`.
Edward Thomson committed -
push: revparse refspec source, so you can push things that are not refs
Edward Thomson committed -
thread: avoid warnings when building without threads
Edward Thomson committed -
transport: fix capabilities calculation
Edward Thomson committed -
ci: update version numbers of actions
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
- 05 Jan, 2023 1 commit
-
-
`git_clone` checks for existence of (non-empty) directories that would clash with what is about to be cloned. This is problematic when cloning submodules since they make sense in the context of a parent module, so they should not use the current working dir. Since in `git_submodule_update` we clone the submodule only when it is not yet initialized we do not need to perform directory checks.
Aleš Bizjak committed
-
- 28 Nov, 2022 1 commit
-
-
Fixes #6433: git_submodule_update fails to update configured but missing submodule
Edward Thomson committed
-
- 25 Nov, 2022 3 commits
-
-
This looks like a typo to me, from what i can see these lines were added at the same time and because of how capabilities are calculated, it's likely that this code will work in situations where these capabilities were the last ones.
Russell Sim committed -
If a submodule has been configured but not yet added, do not try to update it. Issue #6433: git_submodule_update fails to update configured but missing submodule
tagesuhu committed -
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
-
- 23 Nov, 2022 5 commits
-
-
`git__noop` takes no arguments, so a simple `#define func(a) git__noop` will produce warnings about the unused `a`. Introduce `git__noop_args` to swallow arguments and avoid that warning.
Edward Thomson committed -
URL parsing for google-compatible URLs
Edward Thomson committed -
Add support for "safe.directory *"
Edward Thomson committed -
add 2-clause BSD license to COPYING
Edward Thomson committed -
http: Update httpclient options when reusing an existing connection.
Edward Thomson committed
-
- 19 Nov, 2022 1 commit
-
-
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed
-
- 18 Nov, 2022 3 commits
-
-
Fix leak in git_tag_create_from_buffer
Edward Thomson committed -
Ignore missing 'safe.directory' config during ownership checks
Edward Thomson committed -
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
-
- 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
-
- 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
-