Bisect reset: remove bisect refs that may have been packed.
authorChristian Couder <chriscool@tuxfamily.org>
Thu, 15 Nov 2007 07:18:07 +0000 (08:18 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 16 Nov 2007 09:35:58 +0000 (01:35 -0800)
commit947a604b01a8e81b3d0341d38fbf891289f3c0bb
tree129010894e4b33a3847d61fbb162482c946203ab
parent41a7aa588f449d3b139480b102f510abc5ef7f85
Bisect reset: remove bisect refs that may have been packed.

If refs were ever packed in the middle of bisection, the bisect
refs were not removed from the "packed-refs" file.

This patch fixes this problem by using "git update-ref -d $ref $hash"
in "bisect_clean_state".

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-bisect.sh
t/t6030-bisect-porcelain.sh