git-completion.bash: add remote.pushdefault to config list
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ramkumar Ramachandra committed
Apr 29, 2013 at 18:19 UTC
7e6a0cc47da79dd22c0338aee8750fda92ced5d9
1 file changed
+5
contrib/completion/git-completion.bash
+5
@@ -1823,6 +1823,10 @@ _git_config ()
1823
__gitcomp "false true"
1824
return
1825
;;
1826
+ remote.pushdefault)
1827
+ __gitcomp_nl "$(__git_remotes)"
1828
+ return
1829
+ ;;
1830
remote.*.fetch)
1831
local remote="${prev#remote.}"
1832
remote="${remote%.fetch}"
@@ -2202,6 +2206,7 @@ _git_config ()
2206
receive.fsckObjects
2207
receive.unpackLimit
2208
receive.updateserverinfo
2209
+ remote.pushdefault
2210
remotes.
2211
repack.usedeltabaseoffset
2212
rerere.autoupdate