[PATCH] The diff-raw format updates.
authorJunio C Hamano <junkio@cox.net>
Sun, 22 May 2005 02:42:18 +0000 (19:42 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 22 May 2005 05:49:19 +0000 (22:49 -0700)
commit81e50eabf06dd68e8e62a9b697eaf60904c58b22
treef7cf8566f2a72a669b6e4bbaca0cf6ca5a781dd3
parent38c6f78059c3060db6f94b24f4a90063a91090d2
[PATCH] The diff-raw format updates.

Update the diff-raw format as Linus and I discussed, except that
it does not use sequence of underscore '_' letters to express
nonexistence.  All '0' mode is used for that purpose instead.

The new diff-raw format can express rename/copy, and the earlier
restriction that -M and -C _must_ be used with the patch format
output is no longer necessary.  The patch makes -M and -C flags
independent of -p flag, so you need to say git-whatchanged -M -p
to get the diff/patch format.

Updated are both documentations and tests.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
16 files changed:
Documentation/diff-format.txt
Documentation/git-diff-cache.txt
Documentation/git-diff-files.txt
Documentation/git-diff-tree.txt
diff-cache.c
diff-files.c
diff-helper.c
diff-tree.c
diff.c
diff.h
diffcore-pickaxe.c
diffcore-rename.c
diffcore.h
t/t0000-basic.sh
t/t4002-diff-basic.sh
t/t4003-diff-rename-1.sh