completion: improve ls-remote output filtering in __git_refs_remotes()
commit48058f5df49fb9005418a7d025b374988908c0b5
authorSZEDER Gábor <szeder@ira.uka.de>
Sat, 8 Oct 2011 14:54:41 +0000 (8 16:54 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Oct 2011 21:38:23 +0000 (21 14:38 -0700)
treed152b6ac1cb3952525fec7111724d5bea00fdb00
parentd79bcf2cf21ddb8c3fcbd95bafa431f872d47a96
completion: improve ls-remote output filtering in __git_refs_remotes()

This follows suit of a previous patch for __git_refs(): use a
while-read loop and let bash's word splitting get rid of object names
from 'git ls-remote's output.

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