- 30 Jun, 2021 20 commits
-
-
The init.defaultbranch option may be set, but empty. In this case, we should ignore it instead of trying to set our default branch to `refs/heads/`.
Edward Thomson committed -
If a symbolic reference points to something invalid, then do not try to update it.
Edward Thomson committed -
When HEAD points to a nonexistent or invalid branch - for example, to `refs/heads/` - the fetch should be permitted to continue, but we should not use it when creating the `for merge` option in the FETCH_HEAD file. (This emulates git's behavior.)
Edward Thomson committed -
Adds info about initializing options with git_blob_filter_options_init
Josh Stockin committed -
The `git_blob_filter_options_init` function should be included, to allow callers in FFI environments to let us initialize an options structure for them.
Edward Thomson committed -
Josh Stockin committed
-
Removes doc comment on `git_blob_filter_options.version`, moves information to `git_blob_filter_options` doc comment to remain consistent with other options structures' documentation. `git_blob_filter_options_init` still needed; should be added in another commit/PR (it's out of the scope of this PR, #5759), update this documentation again.
Josh Stockin committed -
Resolves #5756
Josh Stockin committed -
* Use pread/pwrite to avoid updating position in file descriptor * Emulate missing pread/pwrite on win32 using overlapped file IO
Dhruva Krishnamurthy committed -
* Emulated mmap based write without pagefault handling is not possible since IO happens outside of call to mmap and data is written to mapped memory * Potential emulation using userfaultfd() might be possible
Dhruva Krishnamurthy committed -
Continue the zlib stream as long as we can make progress; stop when we stop getting output _or_ when zlib stops taking input from us.
Edward Thomson committed -
Edward Thomson committed
-
Reginald McLean committed
-
Fixes #5280
Reginald McLean committed -
worktree_dir isn't validated when it should be
Reginald McLean committed -
Without this, mbedTLS installs in non-default install locations that are otherwise found by the `FindmbedTLS.cmake` module are not found by the C preprocessor at compile time.
Elliot Saba committed -
Update ntlm to include an htonll that is not dependent on system libraries.
Edward Thomson committed -
This change avoids using the `(void)0` construct for some of the mutex `#define`s, since that makes the "return type" of those "functions" to be `void` instead of `int`.
lhchavez committed -
This should allow folks that build in non-thread-safe environments to still be able to build the library. Fixes: #5663
lhchavez committed -
Edward Thomson committed
-
- 29 Jun, 2021 5 commits
-
-
Since we're using atomic primitives to read and write into the config map cache, we need to read/write something pointer-sized. Use an `intptr_t` for the config map cache.
Edward Thomson committed -
Edward Thomson committed
-
Move `git_reference__is_valid_name` to `git_reference__name_is_valid`, which returns errors and sets an out boolean parameter.
Edward Thomson committed -
Cherry-pick `git__add_int64_overflow` functionality introduced in e99e833f.
Edward Thomson committed -
ci: add manual dispatch event for 1.1 branch
Edward Thomson committed
-
- 27 Jun, 2021 2 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
- 13 Dec, 2020 2 commits
-
-
ci: use GITHUB_ENV instead of set-env for v1.1 branch
Edward Thomson committed -
Edward Thomson committed
-
- 12 Oct, 2020 3 commits
-
-
libgit2 v1.1.0
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
- 11 Oct, 2020 3 commits
-
-
Update PCRE to 8.44
Edward Thomson committed -
clone: update origin's HEAD
Edward Thomson committed -
Improve the support of atomics
Edward Thomson committed
-
- 08 Oct, 2020 3 commits
-
-
Instead, globally initialize the system page size.
lhchavez committed -
This change: * Starts using GCC's and clang's `__atomic_*` intrinsics instead of the `__sync_*` ones, since the former supercede the latter (and can be safely replaced by their equivalent `__atomic_*` version with the sequentially consistent model). * Makes `git_atomic64`'s value `volatile`. Otherwise, this will make ThreadSanitizer complain. * Adds ways to load the values from atomics. As it turns out, unsynchronized read are okay only in some architectures, but if we want to be correct (and make ThreadSanitizer happy), those loads should also be performed with the atomic builtins. * Fixes two ThreadSanitizer warnings, as a proof-of-concept that this works: - Avoid directly accessing `git_refcount`'s `owner` directly, and instead makes all callers go through the `GIT_REFCOUNT_*()` macros, which also use the atomic utilities. - Makes `pool_system_page_size()` race-free. Part of: #5592
lhchavez committed -
Fix error return for invalid extensions.
Edward Thomson committed
-
- 07 Oct, 2020 1 commit
-
-
Eric Huss committed
-
- 06 Oct, 2020 1 commit
-
-
Change bare free to allocator free (fixes #5653)
Edward Thomson committed
-