]> git.ipfire.org Git - thirdparty/git.git/commit - apply.c
git-apply: parse index information
authorJunio C Hamano <junkio@cox.net>
Fri, 7 Oct 2005 10:42:00 +0000 (03:42 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 7 Oct 2005 10:42:00 +0000 (03:42 -0700)
commit2cf67f1e35d3a2175e426b4b2841374e68105c2c
tree03425e961ec614fb4fb4d33dd05a31b2bcd06ba4
parentec1fcc16af94810dd822c6da533f58fa2750f14a
git-apply: parse index information

Add an new option --show-index-info to git-apply command to
summarize the index information new git-diff outputs.  The
command shows something similar to git-ls-files --stage output
for the pre-change image:

    100644 7be5041... apply.c
    100644 ec2a161... cache.h
    ...

Signed-off-by: Junio C Hamano <junkio@cox.net>
apply.c