Bisect reset: do nothing when not bisecting.
authorChristian Couder <chriscool@tuxfamily.org>
Tue, 20 Nov 2007 05:39:53 +0000 (06:39 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Nov 2007 09:01:46 +0000 (01:01 -0800)
commitfce0499fad13815d936c1068b7a064030f543b3d
treedd749b31846e1c17feff0f76e252de8ff2dc5de6
parent6459c7c6786aa9bda0c7a095c9db66c36da0e5f0
Bisect reset: do nothing when not bisecting.

Before this patch, using "git bisect reset" when not bisecting
did a "git checkout master" for no good reason.

This also happened using "git bisect replay" when not bisecting
because "bisect_replay" starts by calling "bisect_reset".

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