- 20 Mar, 2014 2 commits
-
-
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
-
- 19 Mar, 2014 5 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 -
If the caller wants to update a ref to point to the same target as it currently has, we should return early and avoid writing to the reflog.
Carlos Martín Nieto committed
-
- 18 Mar, 2014 6 commits
-
-
The existing ones lack checking zeroed ids when switching back from an unborn branch as well as what happens when detaching. The reflog appending function mistakenly wrote zeros when dealing with a detached HEAD. This explicitly checks for those situations and fixes them.
Carlos Martín Nieto committed -
Implement git_merge_base_octopus
Vicent Marti committed -
Aimeast committed
-
Seamless support for NTLM/Kerberos auth on Windows
Vicent Marti committed -
Philip Kelley committed
-
refs: append to the HEAD reflog when updating the current branch
Vicent Marti committed
-
- 17 Mar, 2014 5 commits
-
-
Add a few projects to the list
Russell Belfer committed -
Carlos Martín Nieto committed
-
When we update the current branch, we must also append to HEAD's reflog to keep them in sync. This is a bit of a hack, but as git.git says, it covers 100% of default cases.
Carlos Martín Nieto committed -
This is not something anybody would ever do; removing HEAD makes the .git/ directory no longer be a repository, so we wouldn't be expected to handle such a situation.
Carlos Martín Nieto committed -
Carlos Martín Nieto committed
-
- 13 Mar, 2014 1 commit
-
-
Carlos Martín Nieto committed
-
- 12 Mar, 2014 2 commits
-
-
Fix pqueue sort boundary condition bug
Edward Thomson committed -
If the pqueue comparison fn returned just 0 or 1 (think "a<b") then the sort order of returned items could be wrong because there was a "< 0" that really needed to be "<= 0". Yikes!!!
Russell Belfer committed
-
- 10 Mar, 2014 5 commits
-
-
Carlos Martín Nieto committed
-
Add git_submodule_resolve_url()
Vicent Marti committed -
Jan Melcher committed
-
corrected typo in error message
Paul Betts committed -
Brendan Forster committed
-
- 07 Mar, 2014 14 commits
-
-
Update clar to e1990d6
Vicent Marti committed -
Edward Thomson committed
-
Rename options structures
Vicent Marti committed -
Add a tag example
Russell Belfer committed -
Fun with memory access
Vicent Marti committed -
Plug leaks
Vicent Marti committed -
Carlos Martín Nieto committed
-
We look up a reference in order to figure out if it's the current branch, which we need to free once we're done with the check. As a bonus, only perform the check when we're passed the force flag, as it's a useless check otherwise.
Carlos Martín Nieto committed -
We can make use of git_object_dup to use refcounting instead of pointer comparison to make sure we don't free the caller's object. This also lets us simplify the case for '~0' which is now just an assignment instead of looking up the object we have at hand.
Carlos Martín Nieto committed -
Combinations of connect + fetch can call local_open multiple times. Detect this and skip the initialization stage.
Carlos Martín Nieto committed -
Previously the hunk_byfinalline_search_cmp function was called with different data types (size_t and uint32_t) for the key argument but expected only the former resulting in an invalid memory access when passed the latter on a 64 bit machine. The following patch makes sure that the function is called and works with the same type (size_t).
Jiri Pospisil committed -
Jiri Pospisil committed
-
Update clar to a0b00f0
Vicent Marti committed -
Edward Thomson committed
-