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

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

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jul 2, 2008, 13:35 UTC
Message-ID
<20080702133540.GA19103@spearce.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>
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.
Previous: Dmitry Potapov
Message 2 of 2 in “completion.bash: add 'skip' and 'run' to git-bisect”
  1. completion.bash: add 'skip' and 'run' to git-bisectDmitry Potapov, Jul 2, 2008
  2. Shawn O. PearceJul 2, 2008

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.