completion: fix remote.pushdefault
commitc39a2f117853d89f0aee5b616c52df46a30b108b
authorRamkumar Ramachandra <artagnon@gmail.com>
Sun, 5 Jan 2014 10:18:05 +0000 (5 15:48 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Jan 2014 17:17:25 +0000 (6 09:17 -0800)
treef94e9f85c7e8764ea81a589f98bc74b972f48e7a
parent422553df49bee5a5ea3c9106dfb7f1e4cbb54153
completion: fix remote.pushdefault

When attempting to complete

  $ git config remote.push<TAB>

'pushdefault' doesn't come up. This is because "$cur" is matched with
"remote.*" and a list of remotes are completed. Add 'pushdefault' as a
candidate for completion too, using __gitcomp_nl_append ().

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash