[PATCH 5/5] git-completion.bash: add remote.pushdefault to config list
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Apr 29, 2013, 12:49 UTC
- Message-ID
- <1367239781-5232-6-git-send-email-artagnon@gmail.com>
- In-Reply-To
- <1367239781-5232-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 af271cc..2bbd8a3 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1822,6 +1822,10 @@ _git_config () __gitcomp "false true" return ;; + remote.pushdefault) + __gitcomp_nl "$(__git_remotes)" + return + ;; remote.*.fetch) local remote="${prev#remote.}" remote="${remote%.fetch}" @@ -2201,6 +2205,7 @@ _git_config () receive.fsckObjects receive.unpackLimit receive.updateserverinfo + remote.pushdefault remotes. repack.usedeltabaseoffset rerere.autoupdate
-- 1.8.2.1.616.ga1e5536.dirty