- 23 Feb, 2012 5 commits
-
-
This fixes the missing readdir_r from win32 and fixes other platforms to always use the reentrant readdir_r form for reading directory contents.
Russell Belfer committed -
Russell Belfer committed
-
Fix -Wuninitialized warning
Vicent Martí committed -
Signed-off-by: schu <schu-github@schulog.org>
schu committed -
Uniform iterators for trees, index, and workdir
Vicent Martí committed
-
- 22 Feb, 2012 5 commits
-
-
This update addresses all of the feedback in pull request #570. The biggest change was to create actual linked list stacks for storing the tree and workdir iterator state. This cleaned up the code a ton. Additionally, all of the static functions had their 'git_' prefix removed, and a lot of other unnecessary changes were removed from the original patch.
Russell Belfer committed -
This makes two changes to iterator behavior: first, advance can optionally do the work of returning the new current value. This is such a common pattern that it really cleans up usage. Second, for workdir iterators, this removes automatically iterating into directories. That seemed like a good idea, but when an entirely new directory hierarchy is introduced into the workdir, there is no reason to iterate into it if there are no corresponding entries in the tree/index that it is being compared to. This second change actually wasn't a lot of code because not descending into directories was already the behavior for ignored directories. This just extends that to all directories.
Russell Belfer committed -
Add config multivar support
Vicent Martí committed -
Export parse_tag_buffer as git_tag__parse_buffer.
Vicent Martí committed -
Jay Freeman (saurik) committed
-
- 21 Feb, 2012 2 commits
-
-
This create a new git_iterator type of object that provides a uniform interface for iterating over the index, an arbitrary tree, or the working directory of a repository. As part of this, git ignore support was extended to support push and pop of directory-based ignore files as the working directory is being traversed (so the array of ignores does not have to be recreated at each directory during traveral). There are a number of other small utility functions in buffer, path, vector, and fileops that are included in this patch that made the iterator implementation cleaner.
Russell Belfer committed -
Fix copy-paste error
Carlos Martín Nieto committed
-
- 20 Feb, 2012 4 commits
-
-
Remotes improvements
Vicent Martí committed -
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Allow setting the fetch and push refspecs, which is useful for creating new refspecs.
Carlos Martín Nieto committed
-
- 18 Feb, 2012 3 commits
-
-
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
- 17 Feb, 2012 8 commits
-
-
Carlos Martín Nieto committed
-
Windows doesn't support POSIX regex, so we need to include it ourselves. The sources come from git, which in turn took them from gawk.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Carlos Martín Nieto committed
-
Move the configuration to use a multimap instead of a list. This commit doesn't provide any functional changes but changes the support structures.
Carlos Martín Nieto committed
-
- 16 Feb, 2012 2 commits
-
-
notes: fix assert
Vicent Martí committed -
Hopefully fix issue "Don't sleep and code" - #558. Signed-off-by: schu <schu-github@schulog.org>
schu committed
-
- 15 Feb, 2012 5 commits
-
-
Notes API
Vicent Martí committed -
This commit adds basic git notes support to libgit2, namely: * git_note_read * git_note_message * git_note_oid * git_note_create * git_note_remove In the long run, we probably want to provide some convenience callback mechanism for merging and moving (filter-branch) notes. Signed-off-by: schu <schu-github@schulog.org>
schu committed -
This is legacy compat stuff for when `deflateBound` is not defined, but we're not embedding zlib and that function is always available. Kill that with fire.
Vicent Martí committed -
git__ishex allows to check if a string is a hexadecimal representation. Signed-off-by: schu <schu-github@schulog.org>
schu committed -
git_commit_create is supposed to update the given reference "update_ref", but segfaulted in case of a yet to be born reference. Fix it. Signed-off-by: schu <schu-github@schulog.org>
schu committed
-
- 13 Feb, 2012 6 commits
-
-
Update Copyright header
Vicent Martí committed -
Signed-off-by: schu <schu-github@schulog.org>
schu committed -
Fix "clang warning: expression result unused"
Vicent Martí committed -
schu committed
-
tests-clar: fix warning sign-compare
Vicent Martí committed -
Signed-off-by: schu <schu-github@schulog.org>
schu committed
-