From: Dmitry Medvinsky <dmedvinsky@gmail.com>
To: git@vger.kernel.org, gitster@pobox.com
Cc: Dmitry Medvinsky <dmedvinsky@gmail.com>
Subject: [PATCH] Add "--set-upstream" option to bash completion
Date: Fri, 29 Apr 2011 19:57:01 +0400 [thread overview]
Message-ID: <1304092621-554-1-git-send-email-dmedvinsky@gmail.com> (raw)
Since version 1.7.5 there is a new help message when pushing a branch with no
upstream telling about the ability to use "--set-upstream" option. That option
should be tab-completed for git push command.
Signed-off-by: Dmitry Medvinsky <dmedvinsky@gmail.com>
---
contrib/completion/git-completion.bash | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 9150ea6..cc90e43 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1796,7 +1796,7 @@ _git_push ()
--*)
__gitcomp "
--all --mirror --tags --dry-run --force --verbose
- --receive-pack= --repo=
+ --receive-pack= --repo= --set-upstream
"
return
;;
--
1.7.5
next reply other threads:[~2011-04-29 15:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-29 15:57 Dmitry Medvinsky [this message]
2011-04-29 16:31 ` [PATCH] Add "--set-upstream" option to bash completion Junio C Hamano
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=1304092621-554-1-git-send-email-dmedvinsky@gmail.com \
--to=dmedvinsky@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/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).