bash completion: Append space after file names have been completed
authorShawn O. Pearce <spearce@spearce.org>
Mon, 14 Jul 2008 00:22:03 +0000 (00:22 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 Jul 2008 00:27:50 +0000 (17:27 -0700)
commit778306e405b416d8073652c535777f2de5fc68ad
tree973997dde7a1864edcb1cb607229532184bd847c
parent6c36c9e4eabadecf75f8751b1c1140da2068e2a0
bash completion: Append space after file names have been completed

When completing `git show origin/maint:Makef<tab>` we should add a
space after the filename has been completed, so that the user can
immediately begin the next argument.

I also added a special case for the symlink variant so we treat it
just like a normal blob, as there are no items below it in the Git
tree structure.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash