git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lee Marlow <lee.marlow@gmail.com>
To: "Shawn O. Pearce" <spearce@spearce.org>
Cc: git@vger.kernel.org, Lee Marlow <lee.marlow@gmail.com>
Subject: [PATCH 2/2] bash completion: Use 'git add' completions for 'git stage'
Date: Wed, 10 Dec 2008 12:39:18 -0700	[thread overview]
Message-ID: <1228937958-5091-2-git-send-email-lee.marlow@gmail.com> (raw)
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

  reply	other threads:[~2008-12-10 19:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-10 19:39 [PATCH 1/2] bash completion: Add '--intent-to-add' long option for 'git add' Lee Marlow
2008-12-10 19:39 ` Lee Marlow [this message]
2008-12-10 19:59   ` [PATCH 2/2] bash completion: Use 'git add' completions for 'git stage' Shawn O. Pearce
2009-01-09 16:06     ` Lee Marlow
2008-12-10 19:41 ` [PATCH 1/2] bash completion: Add '--intent-to-add' long option for 'git add' Shawn O. Pearce
2009-01-09 16:05   ` Lee Marlow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1228937958-5091-2-git-send-email-lee.marlow@gmail.com \
    --to=lee.marlow@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=spearce@spearce.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).