git-commit-vandalism/contrib/completion
Felipe Contreras ddc996d767 completion: small optimization
No need to calculate a new $c with a space if we are not going to do
anything it with it.

There should be no functional changes, except that a word "foo " with no
suffixes can't be matched. But $cur cannot have a space at the end
anyway. So it's safe.

Based on the code from SZEDER Gábor.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-04-14 23:18:58 -07:00
..
git-completion.bash completion: small optimization 2013-04-14 23:18:58 -07:00
git-completion.tcsh Merge branch 'mk/tcsh-complete-only-known-paths' 2013-02-08 15:28:51 -08:00
git-completion.zsh git-completion.zsh: define __gitcomp_file compatibility function 2013-03-05 08:54:03 -08:00
git-prompt.sh bash: teach __git_ps1 about REVERT_HEAD 2013-03-31 19:07:26 -07:00