libgit2 icon indicating copy to clipboard operation
libgit2 copied to clipboard

A cross-platform, linkable library implementation of Git that you can use in your application.

Results 242 libgit2 issues
Sort by recently updated
recently updated
newest added

## Uploading artifacts Uploading artifact libgit2 to github releases will improve the development of all users, as they do not have to build it themselves and can directly download it...

`off64_t` is `long long` on AIX, see `/usr/include/sys/types.h` on AIX.

Fixes #6254 It seems like EMBED_SSH_PATH broke because the CLI is also building its own copy of libgit2 but the headers weren't being included. In order to get EMBED_SSH_PATH working...

Ensure the needed wincrypt.h is included. Without this, rand.c will not compile if -DWIN32_LEAN_AND_MEAN is set in the compile flags.

This PR aims to implement basic sparse checkout functionality into LibGit2 building on @jochenhz's [original PR](https://github.com/libgit2/libgit2/pull/5833). # What does it do? - Status / Diff takes GIT_INDEX_ENTRY_SKIP_WORKTREE into account -...

### Reproduction steps Do not have any locally installed openssl devel packages. Install a build of OpenSSL outside of usual search paths. ``` mkdir build && cd build cmake \...

We use libgit2 for the dive log data saving in subsurface (https://github.com/subsurface/subsurface). The subsurface use of branches on the server side is bit odd, in that the server doesn't have...

In commit 6bb358786 ("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...

I build the v1.5.0, and get a error: ``` /libgit2/src/libgit2/config.c:633:47: error: expected ')' p_snprintf(str_value, sizeof(str_value), "%" PRId64, value); ^ /libgit2/src/util/unix/posix.h:60:20: note: expanded from macro 'p_snprintf' #define p_snprintf snprintf ^ /libgit2/src/libgit2/config.c:633:2:...

### Reproduction steps Call `git_worktree_lookup` with a name that does not match the internal name of any existing worktree. ### Expected behavior An error code of `GIT_ENOTFOUND` should be returned....