completion: use ls -1 instead of rolling a loop to do that ourselves
authorFelipe Contreras <felipe.contreras@gmail.com>
Thu, 2 Feb 2012 09:05:29 +0000 (03:05 -0600)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Feb 2012 23:53:31 +0000 (15:53 -0800)
This simplifies the code a great deal. In particular, it allows us to
get rid of __git_shopt, which is used only in this fuction to enable
'nullglob' in zsh.

[jn: squashed with a patch that actually gets rid of __git_shopt]

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found