- 25 Jan, 2023 1 commit
-
-
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
-
- 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 4 commits
-
-
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 -
Julian Mesa committed
-
Julian Mesa committed
-
If the tag already exists and we are not forcing overwrite we need to free ref_name buffer before return the "tag already exists" error.
Julian Mesa 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
-
- 20 Oct, 2022 1 commit
-
-
Httpclient internally stores a copy of the certificate_check callback and payload. When connecting via HTTPS, and if the server sends back "Connection: close" after the first request, the following request would attempt to re-use the httpclient and call the (now outdated) callback. In particular for pygit2 this is a problem, since callbacks / payloads are only valid for the duration of a libgit2 call, leading to a ffi.from_handle() error and crashing the Python interpreter.
Sebastian Lackner committed
-
- 18 Oct, 2022 1 commit
-
-
The path to the default CLI output has changed, update it.
Edward Thomson committed
-
- 07 Oct, 2022 1 commit
-
-
The `git_fs_path_basename_r()` function in `src/util/fs_path.c` says it's based on Android code using the 2-clause BSD license, so I suppose that means the COPYING file should include that.
Martin von Zweigbergk committed
-
- 01 Oct, 2022 2 commits
-
-
Kevin Saul committed
-
Kevin Saul committed
-