Re: [PATCH] completion.bash: add 'skip' and 'run' to git-bisect
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>
Show 27 quoted lines
> ---
> 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.