- 29 Aug, 2021 2 commits
-
-
Using a callback to set a resolve_url is not particularly idiomatic. Deprecate it in favor of the `set_instance_url` and `set_instance_pushurl` functions which can now be called from the `git_remote_ready_cb` callback.
Edward Thomson committed -
Introduce a new callback that fires when the remote is ready to connect.
Edward Thomson committed
-
- 27 Aug, 2021 3 commits
-
-
Users may want to override the URL on a particular instance of a remote, instead of updating the configuration. Previously, users could use a callback to do this, but this is not particularly idiomatic.
Edward Thomson committed -
git_array_alloc: return objects of correct type
Edward Thomson committed -
Homogenize semantics for atomic-related functions
Edward Thomson committed
-
- 26 Aug, 2021 5 commits
-
-
Set refs/remotes/origin/HEAD to default branch when branch is specified
Edward Thomson committed -
There were some subtle semantic differences between the various implementations of atomic functions. Now they behave the same, have tests and are better documented to avoid this from happening again in the future. Of note: * The semantics chosen for `git_atomic_compare_and_swap` match `InterlockedCompareExchangePointer`/`__sync_cal_compare_and_swap` now. * The semantics chosen for `git_atomic_add` match `InterlockedAdd`/`__atomic_add_fetch`. * `git_atomic_swap` and `git_atomic_load` still have a bit of semantic difference with the gcc builtins / msvc interlocked operations, since they require an l-value (not a pointer). If desired, this can be homogenized.
lhchavez committed -
Alexander Ovchinnikov committed
-
Alexander Ovchinnikov committed
-
This reverts commit 487f2a82, reversing changes made to c6cf7f0e.
Alexander Ovchinnikov committed
-
- 25 Aug, 2021 12 commits
-
-
Peter Pettersson committed
-
array: check dereference from void * type
Edward Thomson committed -
GCC C11 warnings
Edward Thomson committed -
Peter Pettersson committed
-
Peter Pettersson committed
-
Instead of buf->"typeofbuffer"ReparseBuffer the members will be referenced with buf->ReparseBuffer."typeofbuffer" https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/ns-ntifs-_reparse_data_buffer?redirectedfrom=MSDN calls the union DUMMYUNIONNAME but that looks a bit cluttered.
Peter Pettersson committed -
Introduce GIT_WARN_UNUSED_RESULT
Edward Thomson committed -
open: input validation for empty segments in path
Edward Thomson committed -
Peter Pettersson committed
-
C11 warnings
Edward Thomson committed -
Peter Pettersson committed
-
Peter Pettersson committed
-
- 24 Aug, 2021 9 commits
-
-
Dynamically load OpenSSL (optionally)
Edward Thomson committed -
Add Xenial, Bionic, CentOS 7 and 8 workflows with OpenSSL-Dynamic builds nightly.
Edward Thomson committed -
Defer dlopen until it's needed when dynamically loading OpenSSL libraries.
Edward Thomson committed -
Edward Thomson committed
-
Edward Thomson committed
-
The ntlmclient dependency can now dynamically load OpenSSL.
Edward Thomson committed -
dlopen sets up some thread-local state that isn't cleaned up by `dlclose`. Additionally, now that we're linking against different versions of libssh2 and OpenSSL, we're seeing different leak signatures.
Edward Thomson committed -
Provide an interface around OpenSSL to dynamically load the libraries and symbols, so that users can distribute a libgit2 library that is not linked directly against OpenSSL. This enables users to target multiple distributions with a single binary. This mechanism is optional and disabled by default. Configure cmake with -DUSE_HTTPS=OpenSSL-Dynamic to use it.
Edward Thomson committed -
Refactor the OpenSSL stream implementation so that the legacy code is better abstracted. This will enable future development.
Edward Thomson committed
-
- 23 Aug, 2021 3 commits
-
-
ci: tag new containers with the latest tag
Edward Thomson committed -
Update all the container versions to force a rebuild so that they'll get tagged with latest (due to changes in the CI scripts).
Edward Thomson committed -
Edward Thomson committed
-
- 21 Aug, 2021 4 commits
-
-
ci: update centos builds
Edward Thomson committed -
openssl: don't fail when we can't customize allocators
Edward Thomson committed -
Edward Thomson committed
-
During valgrind runs, we try to swap out the OpenSSL allocators for our own. This allows us to avoid some unnecessary warnings about usage. Unfortunately, many builds of OpenSSL do not allow you to swap allocators; for example FIPS builds and the builds running in CentOS. Try to swap the allocators, but do not fail when they cannot be customized.
Edward Thomson committed
-
- 18 Aug, 2021 2 commits
-
-
sha1dc: remove conditional for <sys/types.h>
Edward Thomson committed -
Peter Pettersson committed
-