git-commit-vandalism/contrib/completion
Felipe Contreras f825972c38 completion: refactor diff_index wrappers
At the end of the day what we really need is to find out the files that
have been staged, or modified, because those files are the ones that
make sense to pass as arguments to 'git commit'.

We need diff-index to find those out, since 'git ls-files' doesn't do
that.

But we don't need wrappers and wrappers basically identical to the ones
used for 'git ls-files', when we can pretend it receives a --committable
option that would return what we need.

That way, we can remove a bunch of code without any functional changes.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-04-27 14:32:29 -07:00
..
git-completion.bash completion: refactor diff_index wrappers 2013-04-27 14:32:29 -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 Merge branch 'fc/untracked-zsh-prompt' 2013-04-23 11:16:58 -07:00