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>
Ramkumar Ramachandra committed
Apr 29, 2013 at 18:19 UTC
72f7507710b548f62ff8ac6a4e666fe5c004fbd2
1 file changed
+2
-2
contrib/completion/git-completion.bash
+2
-2
@@ -1811,7 +1811,7 @@ __git_config_get_set_variables ()
1811
_git_config ()
1812
{
1813
case "$prev" in
1814
- branch.*.remote)
1814
+ branch.*.remote|branch.*.pushremote)
1815
__gitcomp_nl "$(__git_remotes)"
1816
return
1817
;;
@@ -1907,7 +1907,7 @@ _git_config ()
1907
;;
1908
branch.*.*)
1909
local pfx="${cur%.*}." cur_="${cur##*.}"
1910
- __gitcomp "remote merge mergeoptions rebase" "$pfx" "$cur_"
1910
+ __gitcomp "remote pushremote merge mergeoptions rebase" "$pfx" "$cur_"
1911
return
1912
;;
1913
branch.*)