- 15 Jul, 2012 2 commits
-
-
Add support for the more standard LIB_INSTALL_DIR variable
Vicent Martí committed -
Pevents collisions with the original libgit, which also exports those exact symbols. Fixes #822
Vicent Marti committed
-
- 14 Jul, 2012 1 commit
-
-
Not all delta bases are available on the first try. By delaying resolving all deltas until the end, we avoid decompressing some of the data twice or even more times, saving effort and time.
Carlos Martín Nieto committed
-
- 13 Jul, 2012 4 commits
-
-
The correct way to advertise out capabilities is by appending them to the first 'want' line, using SP as separator, instead of NUL as the server does. Inconsistent documentation lead to the use of NUL in libgit2. Fix this so we can request much more efficient packs from the remote which reduces the indexing time considerably.
Carlos Martín Nieto committed -
Ignacio Casal Quinteiro committed
-
More revparse <3
Vicent Martí committed -
refs: fix a memory leak
Vicent Martí committed
-
- 12 Jul, 2012 18 commits
-
-
nulltoken committed
-
nulltoken committed
-
passing 0 to git_strol(32|64) let the implementation guess if it's dealing with an octal number or a decimal one. Let's make it safe and ensure that both 'HEAD@{010}' and 'HEAD@{10}' point at the same commit.
nulltoken committed -
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
Carlos Martín Nieto committed
-
Russell Belfer committed
-
Russell Belfer committed
-
khash.h was globally #define'ing "inline" which messes with other files. Let's keep it as "kh_inline".
Russell Belfer committed -
Carlos Martín Nieto committed
-
Some objects were added in another PR
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
odb: add git_odb_foreach()
Vicent Martí committed -
Fix revwalk email parsing
Vicent Martí committed -
Revparse refactoring: a start
Vicent Martí committed -
Assorted goodies
Vicent Martí committed
-
- 11 Jul, 2012 15 commits
-
-
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
nulltoken committed
-
Vicent Marti committed
-
refs and revparse love <3
Vicent Martí committed -
Russell Belfer committed
-
This added a flag to the `git_repository_set_workdir()` function that enables generation of a `.git` gitlink file that links the new workdir to the parent repository. Essentially, the flag tells the function to write out the changes to disk to permanently set the workdir of the repository to the new path. If you pass this flag as true, then setting the workdir to something other than the default workdir (i.e. the parent of the .git repo directory), will create a plain file named ".git" with the standard gitlink contents "gitdir: <repo-path>", and also update the "core.worktree" and "core.bare" config values. Setting the workdir to the default repo workdir will clear the core.worktree flag (but still permanently set core.bare to false). BTW, the libgit2 API does not currently provide a function for clearing the workdir and converting a non-bare repo into a bare one.
Russell Belfer committed -
Adding a new config iteration function that let's you iterate over just the config entries that match a particular regular expression. The old foreach becomes a simple use of this with an empty pattern. This also fixes an apparent bug in the existing `git_config_foreach` where returning a non-zero value from the iteration callback was not correctly aborting the iteration and the returned value was not being propogated back to the caller of foreach. Added to tests to cover all these changes.
Russell Belfer committed
-