# [PATCH] completion.bash: add 'skip' and 'run' to git-bisect

2 messages from 2008-07-02 to 2008-07-02. Participants: Dmitry Potapov, Shawn O. Pearce.
Thread: https://gitlist.dev/t/14255

## Dmitry Potapov, 2008-07-02 13:29

Subject: [PATCH] completion.bash: add 'skip' and 'run' to git-bisect
Message-ID: <1215005390-1506-1-git-send-email-dpotapov@gmail.com>
URL: https://gitlist.dev/e/1215005390-1506-1-git-send-email-dpotapov%40gmail.com

```
Signed-off-by: Dmitry Potapov <dpotapov@gmail.com>
---
 contrib/completion/git-completion.bash |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index ebf7cde..3d15434 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -511,7 +511,7 @@ _git_add ()
 
 _git_bisect ()
 {
-	local subcommands="start bad good reset visualize replay log"
+	local subcommands="start bad good skip reset visualize replay log run"
 	local subcommand="$(__git_find_subcommand "$subcommands")"
 	if [ -z "$subcommand" ]; then
 		__gitcomp "$subcommands"
@@ -519,7 +519,7 @@ _git_bisect ()
 	fi
 
 	case "$subcommand" in
-	bad|good|reset)
+	bad|good|reset|skip)
 		__gitcomp "$(__git_refs)"
 		;;
 	*)
-- 
1.5.6.1

```

## Shawn O. Pearce, 2008-07-02 13:35

Subject: Re: [PATCH] completion.bash: add 'skip' and 'run' to git-bisect
Message-ID: <20080702133540.GA19103@spearce.org>
URL: https://gitlist.dev/e/20080702133540.GA19103%40spearce.org
In-Reply-To: <1215005390-1506-1-git-send-email-dpotapov@gmail.com>

```
Dmitry Potapov <dpotapov@gmail.com> wrote:
> Signed-off-by: Dmitry Potapov <dpotapov@gmail.com>

Keeping up with the subcommands is a challenge.  ;-)

Acked-by: Shawn O. Pearce <spearce@spearce.org>

> ---
>  contrib/completion/git-completion.bash |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
> index ebf7cde..3d15434 100755
> --- a/contrib/completion/git-completion.bash
> +++ b/contrib/completion/git-completion.bash
> @@ -511,7 +511,7 @@ _git_add ()
>  
>  _git_bisect ()
>  {
> -	local subcommands="start bad good reset visualize replay log"
> +	local subcommands="start bad good skip reset visualize replay log run"
>  	local subcommand="$(__git_find_subcommand "$subcommands")"
>  	if [ -z "$subcommand" ]; then
>  		__gitcomp "$subcommands"
> @@ -519,7 +519,7 @@ _git_bisect ()
>  	fi
>  
>  	case "$subcommand" in
> -	bad|good|reset)
> +	bad|good|reset|skip)
>  		__gitcomp "$(__git_refs)"
>  		;;
>  	*)
> -- 

-- 
Shawn.

```
