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

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

From
Lee Marlow <lee.marlow@gmail.com>
Date
Dec 10, 2008, 19:39 UTC
Message-ID
<1228937958-5091-2-git-send-email-lee.marlow@gmail.com>
In-Reply-To
<1228937958-5091-1-git-send-email-lee.marlow@gmail.com>
Signed-off-by: Lee Marlow <lee.marlow@gmail.com>
---
 contrib/completion/git-completion.bash |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
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
Previous: Lee MarlowNext: Shawn O. Pearce
Message 2 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.