- 30 Sep, 2012 6 commits
-
-
Carlos Martín Nieto committed
-
Together with include-tag, this make us behave more like git. After a fetch, try to create any tags the remote told us about for which we have objects locally.
Carlos Martín Nieto committed -
This tells the remote to send us any tags that point to objects that we are downloading.
Carlos Martín Nieto committed -
Indicate whether the error comes from the ref already existing or elsewhere. We always perform the check and this lets the user write more concise code.
Carlos Martín Nieto committed -
The latter shouldn't be exposed and isn't used, git_refspec__parse supersedes it. Fix a leak in the refspec tests while we're at it.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
- 28 Sep, 2012 3 commits
-
-
Fix error hashing empty file.
Vicent Martí committed -
revwalk: fix off-by-one error
Vicent Martí committed -
Create a diff patch object as a replacement for iterators
Vicent Martí committed
-
- 27 Sep, 2012 2 commits
-
-
Jameson Miller committed
-
Fixes #921.
Michael Schubert committed
-
- 25 Sep, 2012 10 commits
-
-
There are a lot of places where the diff API gives the user access to internal data structures and many of these were being exposed through non-const pointers. This replaces them all with const pointers for any object that the user can access but is still owned internally to the git_diff_list or git_diff_patch objects. This will probably break some bindings... Sorry!
Russell Belfer committed -
This fixes all the bugs in the new diff patch code. The only really interesting one is that when we merge two diffs, we now have to actually exclude diff delta records that are not supposed to be tracked, as opposed to before where they could be included because they would be skipped silently by `git_diff_foreach()`. Other than that, there are just minor errors.
Russell Belfer committed -
Replacing the `git_iterator` object, this creates a simple API for accessing the "patch" for any file pair in a diff list and then gives indexed access to the hunks in the patch and the lines in the hunk. This is the initial implementation of this revised API - it is still broken, but at least builds cleanly.
Russell Belfer committed -
Allow diff deltas to be accessed by index and make patch generation explicit with hunk and line access by index as well.
Russell Belfer committed -
Make giterr_set_str() and giterr_set_oom() public APIs
Vicent Martí committed -
Tags: teach git_tag_list not to include the 'refs/tags/' prefix
Vicent Martí committed -
Topic/is valid name
Vicent Martí committed -
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
- 22 Sep, 2012 8 commits
-
-
Sascha Cunz committed
-
Sascha Cunz committed
-
Sascha Cunz committed
-
Adjusts refs::list test (including the comments) Adjusts objects::tags::list test
Sascha Cunz committed -
This patch changes the tag listing test helper to use a struct as input parameter, which tells what we exactly expect. As I don't think, we can rely on the fact that every os and every filesystem will report the tags in the same order, I made this code independent of the order that the tags are retrieved.
Sascha Cunz committed -
Sascha Cunz committed
-
Since quite a while now, git_branch_foreach has learnt to list branches without the 'refs/heads/' or 'refs/remotes' prefixes. This patch teaches git_tag_list to do the same for listing tags.
Sascha Cunz committed -
Michael Schubert committed
-
- 21 Sep, 2012 6 commits
-
-
Make clear that git_odb_hashfile does not use filters
Russell Belfer committed -
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed -
There has been discussion for a while about making some set of the `giterr_set` type functions part of the public API for code that is implementing new backends to libgit2. This makes the `giterr_set_str()` and `giterr_set_oom()` functions public.
Russell Belfer committed -
checkout: add notification callback for skipped files
Russell Belfer committed -
git_repository_hashfile: Only close file handle if we have a valid one
Russell Belfer committed -
nulltoken committed
-
- 20 Sep, 2012 3 commits
-
-
Otherwise this throws an exception on MFC based systems. Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed -
nulltoken committed
-
nulltoken committed
-
- 17 Sep, 2012 2 commits
-
-
Checkout, reset and others enhancements
Russell Belfer committed -
nulltoken committed
-