author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 14 Jul 2008 00:22:03 +0000 (00:22 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 14 Jul 2008 00:27:50 +0000 (17:27 -0700) | ||
commit | 778306e405b416d8073652c535777f2de5fc68ad | |
tree | 973997dde7a1864edcb1cb607229532184bd847c | tree | snapshot |
parent | 6c36c9e4eabadecf75f8751b1c1140da2068e2a0 | commit | diff |
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>
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 | diff | blob | history |