- 04 Sep, 2013 1 commit
-
-
Previously, `git_object_read()`, `git_object_read_prefix()` and `git_object_exists()` were implementing an auto refresh logic. When the expected object couldn't be found in any backend, a call to `git_odb_refresh()` was triggered and the lookup was once again performed against all backends. This commit removes this auto-refresh logic from the odb layer and pushes it down into the pack-backend (as it's the only one currently exposing a `refresh()` endpoint).
nulltoken committed
-
- 30 Aug, 2013 2 commits
- 28 Aug, 2013 8 commits
-
-
All use of sortedcache will need this header, so put it in the definition of the sortedcache API.
Russell Belfer committed -
Thread safety for the refdb_fs
Vicent Martí committed -
Russell Belfer committed
-
Even more lenient remote parsing
Vicent Martí committed -
netops: remove duplicate include
Vicent Martí committed -
Configuration iterators redux
Vicent Martí committed -
Windows XP updates
Vicent Martí committed -
Edward Thomson committed
-
- 27 Aug, 2013 7 commits
-
-
Russell Belfer committed
-
nulltoken committed
-
nulltoken committed
-
In order to be loaded, a remote needs to be configured with at least a `url` or a `pushurl`. ENOTFOUND will be returned when trying to git_remote_load() a remote with neither of these entries defined.
nulltoken committed -
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
- 26 Aug, 2013 4 commits
-
-
Russell Belfer committed
-
This loads SRWLock APIs at runtime and in their absence (i.e. on Windows before Vista) falls back on a regular CRITICAL_SECTION that will not permit concurrent readers.
Russell Belfer committed -
refs: add git_reference_is_tag
Vicent Martí committed -
Nikolai Vladimirov committed
-
- 25 Aug, 2013 2 commits
-
-
push: small documentation fix
Vicent Martí committed -
Fraser Tweedale committed
-
- 24 Aug, 2013 3 commits
-
-
9e9aee67 added an include <netinet/in.h> to fix the build on FreeBSD. Sometime since then the same header is included ifndef _WIN32, so remove the duplicate include.
Fraser Tweedale committed -
fix tests on FreeBSD
Vicent Martí committed -
238b7614 introduced a test for posix behaviour, but on FreeBSD some of the structs and constants used aren't defined in <arpa/inet.h>. Include the appropriate headers to get the tests working again on FreeBSD.
Fraser Tweedale committed
-
- 23 Aug, 2013 1 commit
-
-
Russell Belfer committed
-
- 22 Aug, 2013 8 commits
-
-
This converts an internal lock from a write lock to a read lock where write isn't needed, and also clarifies some doc things about where various locks are acquired and how various APIs are intended to be used.
Russell Belfer committed -
Russell Belfer committed
-
This makes libgit2 require Windows Vista or newer if it is going to be compiled with the THREADSAFE option
Russell Belfer committed -
Russell Belfer committed
-
Russell Belfer committed
-
This is the first use we have of pthread_rwlock_t in libgit2. Hopefully it won't cause any serious portability problems.
Russell Belfer committed -
Russell Belfer committed
-
Russell Belfer committed
-
- 21 Aug, 2013 4 commits
-
-
Skip UTF-8 BOM in binary detection
Russell Belfer committed -
Russell Belfer committed
-
This adds thread safety to the refdb_fs by using the new git_sortedcache object and also by relaxing the handling of some filesystem errors where the fs may be changed out from under us. This also adds some new threading tests that hammer on the refdb.
Russell Belfer committed -
The refdb_fs implementation calls realloc directly on a reference object when it wants to rename it. It is not a public object, so this doesn't mess with the immutability of references, but it does assume certain constraints on the reference representation. This commit wraps that assumption in an isolated API to isolate it.
Russell Belfer committed
-