- 26 Mar, 2014 5 commits
-
-
Vicent Marti committed
-
Update behavior for untracked contained repositories
Vicent Marti committed -
clone: don't overwrite original error message
Vicent Marti committed -
Edward Thomson committed
-
Edward Thomson committed
-
- 25 Mar, 2014 2 commits
-
-
When a directory containing a .git directory (or even just a plain gitlink) was found, libgit2 was going out of its way to treat it specially. This seemed like it was necessary because the diff code was not originally emulating Git's behavior for untracked directories correctly (i.e. scanning for ignored vs untracked items inside). Now that libgit2 diff mimics Git's untracked directory behavior, the special handling for contained Git repos is actually incorrect and this commit rips it out.
Russell Belfer committed -
Callback function to hide commit and its parents in revision walker
Edward Thomson committed
-
- 24 Mar, 2014 13 commits
-
-
Anurag Gupta committed
-
Anurag Gupta committed
-
Anurag Gupta committed
-
Anurag Gupta committed
-
Anurag Gupta committed
-
Anurag Gupta committed
-
Anurag Gupta committed
-
env test needs to deref git_buf's ptr
Russell Belfer committed -
Edward Thomson committed
-
Refactor the `git_merge` API
Vicent Marti committed -
settings: use git_buf for returning strings
Vicent Marti committed -
The default cache size is 256 megabytes, not megabits as claimed in the docs.
Carlos Martín Nieto committed -
This survived the last round of culling, as the signature is only in the comments.
Carlos Martín Nieto committed
-
- 21 Mar, 2014 2 commits
-
-
Fix wrong assertion
Vicent Marti committed -
Fixes issue #2196
Linquize committed
-
- 20 Mar, 2014 14 commits
-
-
revwalk: don't try to find merge bases when there can be none
Vicent Marti committed -
As a way to speed up the cases where we need to hide some commits, we find out what the merge bases are so we know to stop marking commits as uninteresting and avoid walking down a potentially very large amount of commits which we will never see. There are however two oversights in current code. The merge-base finding algorithm fails to recognize that if it is only given one commit, there can be no merge base. It instead walks down the whole ancestor chain needlessly. Make it return an empty list immediately in this situation. The revwalk does not know whether the user has asked to hide any commits at all. In situation where the user pushes multiple commits but doesn't hide any, the above fix wouldn't do the trick. Keep track of whether the user wants to hide any commits and only run the merge-base finding algorithm when it's needed.
Carlos Martín Nieto committed -
reflog: follow core.logallrefupdates
Vicent Marti committed -
Carlos Martín Nieto committed
-
On bare by default, or when core.logallrefupdates is false, we must not write the reflog.
Carlos Martín Nieto committed -
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
Edward Thomson committed
-
- 19 Mar, 2014 4 commits
-
-
Reflog all the way
Vicent Marti committed -
Given HEAD -> master -> foo, when updating foo's reflog we should also update HEAD's, as it's considered the current branch.
Carlos Martín Nieto committed -
The reflog append function was overzealous in its checking. When passed an old and new ids, it should not do any checking, but just serialize the data to a reflog entry.
Carlos Martín Nieto committed -
Remove some duplicated logic.
Carlos Martín Nieto committed
-