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

[RFC/PATCH 3/3] bisect: simplify calling visualizer using '--bisect-refs'

From
Christian Couder <chriscool@tuxfamily.org>
Date
Nov 4, 2009, 04:00 UTC
Message-ID
<20091104040004.4545.72084.chriscool@tuxfamily.org>
In-Reply-To
<20091104034312.4545.2176.chriscool@tuxfamily.org>

It is now shorter and safer to use the new '--bisect-refs' revision machinery option, than to compute the refs that we must pass.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 git-bisect.sh |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/git-bisect.sh b/git-bisect.sh
index 8b3c585..41b9118 100755
--- a/git-bisect.sh
+++ b/git-bisect.sh
@@ -300,8 +300,7 @@ bisect_visualize() {
 		esac
 	fi
 
-	not=$(git for-each-ref --format='%(refname)' "refs/bisect/good-*")
-	eval '"$@"' refs/bisect/bad --not $not -- $(cat "$GIT_DIR/BISECT_NAMES")
+	eval '"$@"' --bisect-refs -- $(cat "$GIT_DIR/BISECT_NAMES")
 }
 
 bisect_reset() {
-- 
1.6.5.1.gaf97d
Previous: Christian CouderNext: Junio C Hamano
Message 4 of 11 in “use '--bisect-refs' as bisect rev machinery option”
  1. 0/3 use '--bisect-refs' as bisect rev machinery optionChristian Couder, Nov 4, 2009
  2. 1/3 t6030: show "rev-list --bisect" breakage when bisectingChristian Couder, Nov 4, 2009
  3. 2/3 revision: change '--bisect' rev machinery argument to 'bisect-refs'Christian Couder, Nov 4, 2009
  4. 3/3 bisect: simplify calling visualizer using '--bisect-refs'Christian Couder, Nov 4, 2009
  5. Junio C HamanoNov 4, 2009
  6. Linus TorvaldsNov 4, 2009
  7. Linus TorvaldsNov 4, 2009
  8. Junio C HamanoNov 4, 2009
  9. Christian CouderNov 4, 2009
  10. Junio C HamanoNov 4, 2009
  11. Christian CouderNov 5, 2009

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.