completion: use __gitcomp_nl() for completing refs
authorSZEDER Gábor <szeder@ira.uka.de>
Sun, 22 Mar 2015 12:03:11 +0000 (13:03 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Mar 2015 23:41:12 +0000 (16:41 -0700)
commit260d5850ad452adb7ac0ab70d0a5d0211bdd967f
tree456d6f9fb8ff2a9ed319e2952746c7addddcc707
parentbb8577532add843833ebf8b5324f94f84cb71ca0
completion: use __gitcomp_nl() for completing refs

We do that almost everywhere, because it's faster for large number of
refs, see a31e62629 (completion: optimize refs completion, 2011-10-15).
These were the last two places where we still used __gitcomp() for
completing refs.

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash