git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Bisect: improve readability in "bisect_next_check".

From
Christian Couder <chriscool@tuxfamily.org>
Date
Apr 17, 2007, 05:02 UTC
Message-ID
<20070417070208.95cc3fa3.chriscool@tuxfamily.org>
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
Message 1 of 1 in “Bisect: improve readability in "bisect_next_check".”
  1. Christian CouderApr 17, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.