diff options
author | Ramkumar Ramachandra <artagnon@gmail.com> | 2013-04-29 18:19:40 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-29 09:57:44 -0700 |
commit | 72f7507710b548f62ff8ac6a4e666fe5c004fbd2 (patch) | |
tree | f945399afefd1e0414efa4df1647a370a69229ed /contrib | |
parent | 01449e314f383861f053786129120abdbeac3198 (diff) | |
download | git-72f7507710b548f62ff8ac6a4e666fe5c004fbd2.tar.gz |
git-completion.bash: add branch.*.pushremote to config list
9f765ce (remote.c: introduce branch.<name>.pushremote, 2013-04-02)
introduced the configuration variable branch.*.pushremote, but forgot
to teach git-completion.bash about it. Fix this.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/completion/git-completion.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 5dc54a340f..9ec6671c9d 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1811,7 +1811,7 @@ __git_config_get_set_variables () _git_config () { case "$prev" in - branch.*.remote) + branch.*.remote|branch.*.pushremote) __gitcomp_nl "$(__git_remotes)" return ;; @@ -1907,7 +1907,7 @@ _git_config () ;; branch.*.*) local pfx="${cur%.*}." cur_="${cur##*.}" - __gitcomp "remote merge mergeoptions rebase" "$pfx" "$cur_" + __gitcomp "remote pushremote merge mergeoptions rebase" "$pfx" "$cur_" return ;; branch.*) |