From: Ramkumar Ramachandra <artagnon@gmail.com>
To: Git List <git@vger.kernel.org>
Cc: Felipe Contreras <felipe.contreras@gmail.com>,
Junio C Hamano <gitster@pobox.com>
Subject: [PATCH 5/5] git-completion.bash: add remote.pushdefault to config list
Date: Sun, 21 Apr 2013 18:35:51 +0530 [thread overview]
Message-ID: <1366549551-18763-6-git-send-email-artagnon@gmail.com> (raw)
In-Reply-To: <1366549551-18763-1-git-send-email-artagnon@gmail.com>
224c2171 (remote.c: introduce remote.pushdefault, 2013-04-02)
introduced the remote.pushdefault configuration variable, but forgot
to teach git-completion.bash about it. Fix this.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
contrib/completion/git-completion.bash | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index fa0d604..d0cb4f1 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1829,6 +1829,10 @@ _git_config ()
__gitcomp "false true"
return
;;
+ remote.pushdefault)
+ __gitcomp_nl "$(__git_remotes)"
+ return
+ ;;
remote.*.fetch)
local remote="${prev#remote.}"
remote="${remote%.fetch}"
@@ -2208,6 +2212,7 @@ _git_config ()
receive.fsckObjects
receive.unpackLimit
receive.updateserverinfo
+ remote.pushdefault
remotes.
repack.usedeltabaseoffset
rerere.autoupdate
--
1.8.2.1.501.gd2949c7
next prev parent reply other threads:[~2013-04-21 13:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-21 13:05 [PATCH 0/5] Minor additions to git-completion.bash Ramkumar Ramachandra
2013-04-21 13:05 ` [PATCH 1/5] git-completion.bash: lexical sorting for diff.statGraphWidth Ramkumar Ramachandra
2013-04-21 13:05 ` [PATCH 2/5] git-completion.bash: add diff.submodule to config list Ramkumar Ramachandra
2013-04-21 13:05 ` [PATCH 3/5] git-completion.bash: complete branch.*.rebase as boolean Ramkumar Ramachandra
2013-04-21 13:05 ` [PATCH 4/5] git-completion.bash: add branch.*.pushremote to config list Ramkumar Ramachandra
2013-04-21 13:05 ` Ramkumar Ramachandra [this message]
2013-04-24 19:49 ` [PATCH 0/5] Minor additions to git-completion.bash Ramkumar Ramachandra
2013-04-27 1:57 ` Felipe Contreras
2013-04-28 18:48 ` Junio C Hamano
2013-04-29 4:58 ` Felipe Contreras
-- strict thread matches above, loose matches on Subject: below --
2013-04-29 12:49 [PATCH 0/5] [RESEND] " Ramkumar Ramachandra
2013-04-29 12:49 ` [PATCH 5/5] git-completion.bash: add remote.pushdefault to config list Ramkumar Ramachandra
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=1366549551-18763-6-git-send-email-artagnon@gmail.com \
--to=artagnon@gmail.com \
--cc=felipe.contreras@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.