-
- Downloads
[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>
Showing
- Documentation/diff-format.txt 17 additions, 12 deletionsDocumentation/diff-format.txt
- Documentation/git-diff-cache.txt 2 additions, 2 deletionsDocumentation/git-diff-cache.txt
- Documentation/git-diff-files.txt 2 additions, 2 deletionsDocumentation/git-diff-files.txt
- Documentation/git-diff-tree.txt 2 additions, 3 deletionsDocumentation/git-diff-tree.txt
- diff-cache.c 5 additions, 7 deletionsdiff-cache.c
- diff-files.c 5 additions, 7 deletionsdiff-files.c
- diff-helper.c 69 additions, 84 deletionsdiff-helper.c
- diff-tree.c 6 additions, 7 deletionsdiff-tree.c
- diff.c 74 additions, 58 deletionsdiff.c
- diff.h 11 additions, 1 deletiondiff.h
- diffcore-pickaxe.c 3 additions, 3 deletionsdiffcore-pickaxe.c
- diffcore-rename.c 10 additions, 10 deletionsdiffcore-rename.c
- diffcore.h 1 addition, 1 deletiondiffcore.h
- t/t0000-basic.sh 8 additions, 8 deletionst/t0000-basic.sh
- t/t4002-diff-basic.sh 104 additions, 105 deletionst/t4002-diff-basic.sh
- t/t4003-diff-rename-1.sh 3 additions, 3 deletionst/t4003-diff-rename-1.sh
Loading
Please sign in to comment