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

Re: [PATCH 2/2] bash completion: Use 'git add' completions for 'git stage'

From
Shawn O. Pearce <spearce@spearce.org>
Date
Dec 10, 2008, 19:59 UTC
Message-ID
<20081210195957.GE11928@spearce.org>
In-Reply-To
<1228937958-5091-2-git-send-email-lee.marlow@gmail.com>
Lee Marlow <lee.marlow@gmail.com> wrote:
> Signed-off-by: Lee Marlow <lee.marlow@gmail.com>
> ---
>  contrib/completion/git-completion.bash |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
Also,
Trivially-Acked-by: Shawn O. Pearce <spearce@spearce.org>
 
Show 19 quoted lines
> diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
> index 5356e5b..7e2b482 100755
> --- a/contrib/completion/git-completion.bash
> +++ b/contrib/completion/git-completion.bash
> @@ -1660,6 +1660,7 @@ _git ()
>  	show)        _git_show ;;
>  	show-branch) _git_show_branch ;;
>  	stash)       _git_stash ;;
> +	stage)       _git_add ;;
>  	submodule)   _git_submodule ;;
>  	svn)         _git_svn ;;
>  	tag)         _git_tag ;;
> -- 
> 1.6.1.rc2.14.g5363d
> 
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Shawn.
Previous: Lee MarlowNext: Lee Marlow
Message 3 of 6 in “bash completion: Add '--intent-to-add' long option for 'git add'”
  1. 1/2 bash completion: Add '--intent-to-add' long option for 'git add'Lee Marlow, Dec 10, 2008
  2. 2/2 bash completion: Use 'git add' completions for 'git stage'Lee Marlow, Dec 10, 2008
  3. Shawn O. PearceDec 10, 2008
  4. Lee MarlowJan 9, 2009
  5. Shawn O. PearceDec 10, 2008
  6. Lee MarlowJan 9, 2009

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.