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

[PATCH 1/2] bash: offer refs for 'git bisect start'

From
SZEDER Gábor <szeder@ira.uka.de>
Date
Oct 10, 2010, 21:39 UTC
Message-ID
<1286746774-7877-1-git-send-email-szeder@ira.uka.de>

The completion script only offered path completion after 'git bisect start', although bad and good refs could also be specified before the doubledash.

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
---
 contrib/completion/git-completion.bash |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 6756990..eb8ef47 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -912,7 +912,7 @@ _git_bisect ()
 	fi
 
 	case "$subcommand" in
-	bad|good|reset|skip)
+	bad|good|reset|skip|start)
 		__gitcomp "$(__git_refs)"
 		;;
 	*)
-- 
1.7.3.1.148.g2fffa
Next: SZEDER Gábor
Message 1 of 5 in “bash: offer refs for 'git bisect start'”
  1. 1/2 bash: offer refs for 'git bisect start'SZEDER Gábor, Oct 10, 2010
  2. 2/2 bash: not all 'git bisect' subcommands make sense when not bisectingSZEDER Gábor, Oct 10, 2010
  3. Sverre RabbelierOct 10, 2010
  4. SZEDER GáborOct 10, 2010
  5. Sverre RabbelierOct 10, 2010

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.