Bisect: improve readability in "bisect_next_check".
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
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