From: Christian Couder Date: Tue, 17 Apr 2007 05:02:08 GMT Subject: Bisect: improve readability in "bisect_next_check". Message-ID: <20070417070208.95cc3fa3.chriscool@tuxfamily.org> Signed-off-by: Christian Couder --- git-bisect.sh | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/git-bisect.sh b/git-bisect.sh index 85c374e..512c1c6 100755 --- a/git-bisect.sh +++ b/git-bisect.sh @@ -174,7 +174,8 @@ bisect_next_check() { case "$missing_good,$missing_bad,$1" in ,,*) - : have both good and bad - ok + # have both good and bad - ok + true ;; *,) # do not have both but not asked to fail - just report. @@ -189,7 +190,8 @@ bisect_next_check() { printf >&2 'Are you sure [Y/n]? ' case "$(read yesno)" in [Nn]*) exit 1 ;; esac fi - : bisect without good... + # bisect without good... + true ;; *) THEN='' -- 1.5.1.1.821.g88bdb-dirty