t9902: add completion tests for "odd" filenames
authorJeff King <peff@peff.net>
Wed, 26 Sep 2012 21:51:06 +0000 (17:51 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Sep 2012 00:25:52 +0000 (17:25 -0700)
commitbafed0dfb405b27e8b2b9680beece1dfaf5fdab2
treed11775382dc80138070edf80d3a36c9a42d369f0
parent49ba92b4eaca44ee4d7444b2256d60c2f32268ee
t9902: add completion tests for "odd" filenames

We correctly handle completion items with spaces just fine,
since we pass the lists around with newline delimiters.
However, we do not handle filenames with shell
metacharacters, as "compgen -W" performs expansion on the
list we give it.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9902-completion.sh