Bisect: improve readability in "bisect_next_check".

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Christian Couder <chriscool@xxxxxxxxxxxxx>
---
 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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]