Prevent space after directories in tcsh completion
commit92f1c042432aa20244bcfbd426c4d8bcb1d56fdb
authorMarc Khouzam <marc.khouzam@ericsson.com>
Mon, 7 Jan 2013 19:07:10 +0000 (7 19:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jan 2013 19:51:26 +0000 (7 11:51 -0800)
tree8319d257a6060b544396c17147e532d3b59a44ec
parent5d417842efeafb6e109db7574196901c4e95d273
Prevent space after directories in tcsh completion

If git-completion.bash returns a single directory as a completion,
tcsh will automatically add a space after it, which is not what the
user wants.

This commit prevents tcsh from doing this.

Also, a check is added to make sure the tcsh version used is recent
enough to allow completion to work as expected.

Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.tcsh