diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-11-15 00:47:53 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-16 01:35:58 -0800 |
commit | 0bee49c6abf18082a01f5d1a2106608456fb7d5a (patch) | |
tree | f25cfa06d9424c8a202483ae7abb337627792a7b /revision.h | |
parent | git-bisect: use update-ref to mark good/bad commits (diff) | |
download | tgif-0bee49c6abf18082a01f5d1a2106608456fb7d5a.tar.xz |
git-bisect: modernize branch shuffling hack
When switching to a new rev, we first made "new-bisect" branch to
point at the chosen commit, attempt to switch to it, and then
finally renamed the new-bisect branch to bisect by hand when
successful. This is so that we can catch checkout failure (your
local modification may interfere with switching to the chosen
version) without losing information on which commit the next
attempt should be made.
Rewrite it using a more modern form but without breaking the
safety.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.h')
0 files changed, 0 insertions, 0 deletions