- 21 Apr, 2011 1 commit
-
-
New external functions: - git_index_unmerged_entrycount: Counts the unmerged entries in the index - git_index_get_unmerged: Gets an unmerged entry from the index by name New internal functions: - read_unmerged: Wrapper for read_unmerged_internal - read_unmerged_internal: Reads unmerged entries from the index if the index has the INDEX_EXT_UNMERGED_SIG set - unmerged_srch: Search function for unmerged vector - unmerged_cmp: Compare function for unmerged vector New data structures: - git_index now contains a git_vector unmerged that stores unmerged entries - git_index_entry_unmerged: Representation of an unmerged file entry. It represents all three versions of the file at the same time, with one name, three modes and three OIDs
Jakob Pfender committed
-
- 15 Apr, 2011 3 commits
-
-
Vicent Marti committed
-
Vicent Marti committed
-
Fixes the issue where object lookups were failing right after a pull on an open repository.
Vicent Marti committed
-
- 12 Apr, 2011 1 commit
-
-
Lists all the tag references in a repository using a custom callback. Includes unit tests courtesy of Emeric Fermas <3
Vicent Marti committed
-
- 10 Apr, 2011 3 commits
-
-
They were backtracking too deep into the filesystem on Linux, where the tests were running directly on `tmp/`.
Vicent Marti committed -
This is what Git uses by default for all deflating.
Vicent Marti committed -
Vicent Marti committed
-
- 09 Apr, 2011 8 commits
-
-
Vicent Marti committed
-
Vicent Marti committed
-
The new name is more cool.
Vicent Marti committed -
Most tags will have a timestamp of whenever the code is running and dealing with time and timezones is error-prone. Optimize for this case by adding a function which causes the signature to be created with a current timestamp. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
The parameters are given by '@param name' and not '@name'. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Add checks to see if malloc failed when allocating the tag members and signature members. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
git_repository_path() and git_repository_workdir() respectively return the path to the git repository and the working directory. Those paths are absolute and normalized.
nulltoken committed -
We are now using a custom `strtol` implementation to make sure we're not missing any overflow errors.
Vicent Marti committed
-
- 08 Apr, 2011 12 commits
-
-
Vicent Marti committed
-
Vicent Marti committed
-
Vicent Marti committed
-
Weak tags (e.g. tags that point directly to a normal object instead of a tag object) were failing to be packed.
Vicent Marti committed -
Remove the check in git_tag_create_frombuffer as it's done by tag_create already. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
These indicate an inconsistency in the repository which we've created, so don't allow them. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Don't blindly pass the target type to git_tag_type2string as it will give an empty string on GIT_OBJ_ANY which would cause us to create an invalid tag object. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed -
Add several IDXENTRY flags that need to be checked in order to properly implement update-index --refresh.
Jakob Pfender committed -
Sam committed
-
couldn't add new entry when inserting new one with `git_treebuilder_insert`.
Shuhei Tanuma committed -
We cannot assume that Redis is never going to return an error code; when Reddit fails, we cannot crash our library, we need to handle the crash gracefully. Signed-off-by: Vicent Marti <tanoku@gmail.com>
Vicent Marti committed -
Dmitry Kovega committed
-
- 04 Apr, 2011 5 commits
-
-
Vicent Marti committed
-
nulltoken committed
-
The git test repository was holding a wrongly named tag reference ("very-simple") pointing at a tag named "e90810b". This mistake (mine :-/ ) originates back to https://github.com/libgit2/libgit2/commit/9282e92 Whole credit goes to @tclem for having spotted this.
nulltoken committed -
Streaming writes will no longer fail when writing to a backend that doesn't support streaming writes but supports direct ones. Now we create a fake stream on memory and then write it as a single block using the backend `write` callback.
Vicent Marti committed -
Vicent Marti committed
-
- 03 Apr, 2011 1 commit
-
-
Creates a tree by scanning the index file. The method handles recursive creation of trees for subdirectories and adds them to the parent tree.
Sarath Lakshman committed
-
- 02 Apr, 2011 4 commits
-
-
-
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Vicent Marti committed -
To build libgit2 with sqlite support, waf configure should be run with --with-sqlite
Olivier Ramonat committed
-
- 31 Mar, 2011 1 commit
-
-
If we want debugging symbols, we most likely want them to point to the right place. With -O2, gdb or valgrind may give wrong information. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Carlos Martín Nieto committed
-
- 30 Mar, 2011 1 commit
-
-
nulltoken committed
-