- 10 Oct, 2014 5 commits
-
-
Provide host name to certificate_check_cb
Edward Thomson committed -
New test files for the javascript diff driver.
Edward Thomson committed -
Walk only as far as the common ancestors of uninteresting commits
Edward Thomson committed -
Treat an empty list of refspecs the same as a NULL value.
Carlos Martín Nieto committed -
Arthur Schreiber committed
-
- 09 Oct, 2014 16 commits
-
-
Implement git-describe
Carlos Martín Nieto committed -
Arthur Schreiber committed
-
Arthur Schreiber committed
-
Edward Thomson committed
-
Anurag Gupta (OSG) committed
-
config: Handle multiple spaces that follow a configuration value and precede a comment char
Edward Thomson committed -
Fix README.md
Edward Thomson committed -
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed -
Trivial fixups
Edward Thomson committed -
Carlos Martín Nieto committed
-
Introduce reference transactions
Edward Thomson committed -
Implement opportunistic ref updates
Edward Thomson committed -
This leaves space for future expansion to locking other resources without having to change the API for references.
Carlos Martín Nieto committed -
Add `git_merge_bases_many`
Carlos Martín Nieto committed -
Arthur Schreiber committed
-
Arthur Schreiber committed
-
- 08 Oct, 2014 5 commits
-
-
This should have been included when implementing the feature but was missed.
Carlos Martín Nieto committed -
If there have been no pushes, we can immediately return ITEROVER. If there have been no hides, we must not run the uninteresting pre-mark phase, as we do not want to hide anything and this would simply cause us to spend time loading objects.
Carlos Martín Nieto committed -
This introduces a phase at the start of preparing a walk which pre-marks uninteresting commits, but only up to the common ancestors. We do this in a similar way to git, by walking down the history and marking (which is what we used to do), but we keep a time-sorted priority queue of commits and stop marking as soon as there are only uninteresting commits in this queue. This is a similar rule to the one used to find the merge-base. As we keep inserting commits regardless of the uninteresting bit, if there are only uninteresting commits in the queue, it means we've run out of interesting commits in our walk, so we can stop. The old mark_unintesting() logic is still in place, but that stops walking if it finds an already-uninteresting commit, so it will stop on the ones we've pre-marked; but keeping it allows us to also hide those that are hidden via the callback.
Carlos Martín Nieto committed -
The old separation was due to the old merge-base finding, so it's no longer necessary.
Carlos Martín Nieto committed -
These store merge-base information which is only valid for a single run.
Carlos Martín Nieto committed
-
- 06 Oct, 2014 1 commit
-
-
SeijiIto committed
-
- 04 Oct, 2014 2 commits
- 03 Oct, 2014 2 commits
-
-
Edward Thomson committed
-
Edward Thomson committed
-
- 01 Oct, 2014 2 commits
-
-
hashsig: Export as a `sys` header
Vicent Marti committed -
Vicent Marti committed
-
- 30 Sep, 2014 7 commits
-
-
Since this isn't under sys/ we need to have it included in the main git2.h file. This fixes #2551.
Carlos Martín Nieto committed -
Erdur committed
-
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
The stash is implemented as the refs/stash reference and its reflog. In order to modify the reflog, we need avoid races by making sure we're the only ones allowed to modify the reflog. We achieve this via the transactions API. Locking the reference gives us exclusive write access, letting us modify and write it without races.
Carlos Martín Nieto committed -
A transaction allows you to lock multiple references and set up changes for them before applying the changes all at once (or as close as the backend supports). This can be used for replication purposes, or for making sure some operations run when the reference is locked and thus cannot be changed.
Carlos Martín Nieto committed -
This will be used by the transaction code.
Carlos Martín Nieto committed
-