git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] bash: offer refs for 'git bisect start'
@ 2010-10-10 21:39 SZEDER Gábor
  2010-10-10 21:39 ` [PATCH 2/2] bash: not all 'git bisect' subcommands make sense when not bisecting SZEDER Gábor
  0 siblings, 1 reply; 5+ messages in thread
From: SZEDER Gábor @ 2010-10-10 21:39 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: Junio C Hamano, git, SZEDER Gábor

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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-10-10 22:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-10 21:39 [PATCH 1/2] bash: offer refs for 'git bisect start' SZEDER Gábor
2010-10-10 21:39 ` [PATCH 2/2] bash: not all 'git bisect' subcommands make sense when not bisecting SZEDER Gábor
2010-10-10 22:05   ` Sverre Rabbelier
2010-10-10 22:12     ` SZEDER Gábor
2010-10-10 22:14       ` Sverre Rabbelier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).