- 19 Dec, 2016 1 commit
-
-
Make it clearer from the get-go that we do not aim to implement user-facing commands from the git tool.
Carlos Martín Nieto committed
-
- 17 Dec, 2016 2 commits
-
-
rebase: plug a leak in the tests
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
- 16 Dec, 2016 1 commit
-
-
refdb: disable concurrent compress in the threading tests on Windows
Edward Thomson committed
-
- 12 Dec, 2016 9 commits
-
-
Various fixes
Carlos Martín Nieto committed -
This is far from an ideal situation, but this causes issues on Windows which make it harder to develop anything, as these tests hit issues which relate specifically to the Windows filesystem like permission errors for files we should be able to access. There is an issue likely related to the ordering of the repack, but there's enough noise that it does not currently help us to run this aspect of the test in CI.
Carlos Martín Nieto committed -
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
The function `cl_git_thread_check()` is defined as static. As the function is defined in a header file which is included by our tests, this can result in warnings for every test file where `cl_git_thread_check` is never used. Fix the issue by marking it as inline instead.
Patrick Steinhardt committed
-
- 07 Dec, 2016 2 commits
-
-
git_rebase_init: correctly handle detached HEAD
Edward Thomson committed -
Properly pass `wchar *` type to giterr_set
Edward Thomson committed
-
- 06 Dec, 2016 1 commit
-
-
Boris Barbulovski committed
-
- 04 Dec, 2016 1 commit
-
-
remote: fix typo in git_fetch_init_options docs
Edward Thomson committed
-
- 03 Dec, 2016 1 commit
-
-
Josh Bleecher Snyder committed
-
- 02 Dec, 2016 1 commit
-
-
git_rebase_finish relies on head_detached being set, but rebase_init_merge was only setting it when branch->ref_name was unset. But branch->ref_name would be set to "HEAD" in the case of detached HEAD being either implicitly (NULL) or explicitly passed to git_rebase_init.
David Turner committed
-
- 20 Nov, 2016 1 commit
-
-
Boris Barbulovski committed
-
- 18 Nov, 2016 6 commits
-
-
Introduce some clar helpers for child threads
Carlos Martín Nieto committed -
Edward Thomson committed
-
Edward Thomson committed
-
Don't `cl_git_pass` in a child thread. When the assertion fails, clar will `longjmp` to its error handler, but: > The effect of a call to longjmp() where initialization of the jmp_buf > structure was not performed in the calling thread is undefined. Instead, set up an error context that threads can populate, and the caller can check.
Edward Thomson committed -
We want a predictable number of initializations in our multithreaded init test, but we also want to make sure that we have _actually_ initialized `git_libgit2_init` before calling `git_thread_create` (since it now has a sanity check that `git_libgit2_init` has been called). Since `git_thread_create` is internal-only, keep this sanity check. Flip the invocation so that we `git_libgit2_init` before our thread tests and `git_libgit2_shutdown` again after.
Edward Thomson committed -
Introduce `git_thread_exit`, which will allow threads to terminate at an arbitrary time, returning a `void *`. On Windows, this means that we need to store the current `git_thread` in TLS, so that we can set its `return` value when terminating. We cannot simply use `ExitThread`, since Win32 returns `DWORD`s from threads; we return `void *`.
Edward Thomson committed
-
- 17 Nov, 2016 1 commit
-
-
use `giterr_set_str()` wherever possible
Carlos Martín Nieto committed
-
- 16 Nov, 2016 1 commit
-
-
`giterr_set()` is used when it is required to format a string, and since we don't really require it for this case, it is better to stick to `giterr_set_str()`. This also suppresses a warning(-Wformat-security) raised by the compiler. Signed-off-by: Pranit Bauva <pranit.bauva@gmail.com>
Pranit Bauva committed
-
- 15 Nov, 2016 9 commits
-
-
Bump version number to v0.25
Carlos Martín Nieto committed -
sortedcache: plug leaked file descriptor
Carlos Martín Nieto committed -
Patrick Steinhardt committed
-
Patrick Steinhardt committed
-
curl_stream: use CURLINFO_ACTIVESOCKET if curl is recent enough
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
Introduce a GitHub Issue Template
Carlos Martín Nieto committed -
CHANGELOG: fill in some updates we missed
Carlos Martín Nieto committed -
The `CURLINFO_LASTSOCKET` information has been deprecated since curl version 7.45.0 as it may result in an overflow in the returned socket on certain systems, most importantly on 64 bit Windows. Instead, a new call `CURLINFO_ACTIVESOCKET` has been added which instead returns a `curl_socket_t`, which is always sufficiently long to store a socket. As we need to provide backwards compatibility with curl versions smaller than 7.45.0, alias CURLINFO_ACTIVESOCKET to CURLINFO_LASTSOCKET on platforms without CURLINFO_ACTIVESOCKET.
Patrick Steinhardt committed
-
- 14 Nov, 2016 3 commits
-
-
Plug a leak in the refs compressor
Edward Thomson committed -
Edward Thomson committed
-
Carlos Martín Nieto committed
-