summaryrefslogtreecommitdiff
path: root/t/t3201-branch-contains.sh
diff options
context:
space:
mode:
authorLibravatar Felipe Contreras <felipe.contreras@gmail.com>2013-04-27 15:10:03 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-27 14:32:29 -0700
commitf825972c38ba5a8e0309a552b401ad55aeaaaf36 (patch)
treec6ef652adf7665ca7ec2217b16f8fdfd0378a819 /t/t3201-branch-contains.sh
parentcompletion: use __gitcompadd for __gitcomp_file (diff)
downloadtgif-f825972c38ba5a8e0309a552b401ad55aeaaaf36.tar.xz
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>
Diffstat (limited to 't/t3201-branch-contains.sh')
0 files changed, 0 insertions, 0 deletions