Code

[PATCH] show-diff show deleted files as diff as well.
authorChristopher Li <git@chrisli.org>
Tue, 12 Apr 2005 09:04:44 +0000 (02:04 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 12 Apr 2005 09:04:44 +0000 (02:04 -0700)
commitc0fb976aa779c508314305f309f240fa6bfc3128
tree41fa9643de0044c75ac654ab2dd2319f1bf3b640
parent5e76011c0dd9e3f7f6eb766e8c28dd8fcd4adcf9
[PATCH] show-diff show deleted files as diff as well.

The ideas is that using the show-diff to generate the
patch including deleted and new file (in the next patch).
So we don't have to do the temp new file diff dance on the
script.

The cache index now contain enough information to generate
the whole patch. So the GIT SCM don't need separate command
for check out file to edit or delete. Just do the edit and
remove and GIT will generate the correct patch.

It still require tell GIT to add new files.
show-diff.c