- 30 Dec, 2011 6 commits
-
-
Clemens Buchacher committed
-
Currently, diff_index passes the full relative path from the repository root to the callback. In case of an addition, it passes the tree entry instead of the index entry. This change fixes the path used for addition, and it passes only the basename of the path. This mimics the current behavior of git_tree_diff.
Clemens Buchacher committed -
For the diff-index tests, the diff_more test will run multiple times. Reset the expect_idx counter after each test in order to allow this.
Clemens Buchacher committed -
The git.git implementation allows this, and there is no reason not to.
Clemens Buchacher committed -
Clemens Buchacher committed
-
Clemens Buchacher committed
-
- 29 Dec, 2011 2 commits
-
-
Clemens Buchacher committed
-
The clay test suite files clay.h and clay_main.c are generated by the clay python script. Teach CMake about this dependency and remove the generated files from the repository.
Clemens Buchacher committed
-
- 27 Dec, 2011 4 commits
-
-
Added link to vala bindings
Vicent Martí committed -
Antono Vasiljev committed
-
Add Perl to the list of bindings.
Vicent Martí committed -
Ingy döt Net committed
-
- 24 Dec, 2011 2 commits
-
-
Vicent Martí committed
-
Includes relevant Clay test
Vicent Martí committed
-
- 22 Dec, 2011 1 commit
-
-
Small enhancements to remote-ls when working against local repositories
Vicent Martí committed
-
- 21 Dec, 2011 2 commits
-
-
remote: add test to retrieve the advertised references from a local repository and fix related implementation
nulltoken committed -
config_file: honor error
Vicent Martí committed
-
- 19 Dec, 2011 1 commit
-
-
Return an error if we can't write an updated version of the config file after config_delete. Along with that, fix an uninitialized warning. Signed-off-by: schu <schu-github@schulog.org>
schu committed
-
- 18 Dec, 2011 2 commits
-
-
Russell Belfer committed
-
In an effort to remove duplicate code, I accidentally left the stat structure uninitialized in this function. This patch restores that data gathering.
Russell Belfer committed
-
- 16 Dec, 2011 3 commits
-
-
Really delete variables
Vicent Martí committed -
Instead of just setting the value to NULL, which gives unwanted results when asking for that variable after deleting it, delete the variable from the list and re-write the file.
Carlos Martín Nieto committed -
This would make us think that config variables like [core] something is missing.
Carlos Martín Nieto committed
-
- 15 Dec, 2011 2 commits
-
-
Vicent Marti committed
-
Comes with support for global events; this fixes #496.
Vicent Marti committed
-
- 14 Dec, 2011 9 commits
-
-
It was not safe for git_buf_joinpath to be used with a pointer into the buf itself because a reallocation could invalidate the input parameter that pointed into the buffer. This patch makes it safe to self join, at least for the leading input to the join, which is the common "append" case for self joins. Also added unit tests to explicitly cover this case. This should actually fix #511
Russell Belfer committed -
This commit fixes #511.
Russell Belfer committed -
commit: add test to ensure predictability of generation of commit, tree and blob object ids
Vicent Martí committed -
Prevent segfaulting on Windows when building a temporary filename
Paul Betts committed -
nulltoken committed
-
nulltoken committed
-
Conflicts: tests-clay/clay.h tests-clay/clay_main.c
Vicent Marti committed -
Vicent Marti committed
-
Vicent Marti committed
-
- 09 Dec, 2011 1 commit
-
-
Conflicts: tests-clay/clay_main.c
Vicent Marti committed
-
- 08 Dec, 2011 1 commit
-
-
This converts virtually all of the places that allocate GIT_PATH_MAX buffers on the stack for manipulating paths to use git_buf objects instead. The patch is pretty careful not to touch the public API for libgit2, so there are a few places that still use GIT_PATH_MAX. This extends and changes some details of the git_buf implementation to add a couple of extra functions and to make error handling easier. This includes serious alterations to all the path.c functions, and several of the fileops.c ones, too. Also, there are a number of new functions that parallel existing ones except that use a git_buf instead of a stack-based buffer (such as git_config_find_global_r that exists alongsize git_config_find_global). This also modifies the win32 version of p_realpath to allocate whatever buffer size is needed to accommodate the realpath instead of hardcoding a GIT_PATH_MAX limit, but that change needs to be tested still.
Russell Belfer committed
-
- 04 Dec, 2011 1 commit
-
-
nulltoken committed
-
- 03 Dec, 2011 3 commits
-
-
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk> Signed-off-by: Vicent Marti <tanoku@gmail.com> # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # Author: Carlos Martín Nieto <carlos@cmartin.tk> # # On branch development # Your branch is ahead of 'origin/development' by 11 commits. # # Changes to be committed: # (use "git reset HEAD^1 <file>..." to unstage) # # modified: include/git2/tree.h # modified: src/tree.c # modified: tests-clay/clay_main.c # modified: tests-clay/object/tree/diff.c # # Untracked files: # (use "git add <file>..." to include in what will be committed) # # 0001-remote-Cleanup-the-remotes-code.patch # 466.patch # 466.patch.1 # 488.patch # Makefile # libgit2.0.15.0.dylib # libgit2.0.dylib # libgit2.dylib # libgit2_clay # libgit2_test # tests-clay/object/tree/
Vicent Marti committed -
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk> Signed-off-by: Vicent Marti <tanoku@gmail.com>
Carlos Martín Nieto committed -
For each difference in the trees, the callback gets called with the relevant information so the user can fill in their own data structures. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Carlos Martín Nieto committed
-