- 23 Nov, 2022 4 commits
-
-
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
-
- 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
-
- 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
-
- 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
-