author | Junio C Hamano <junkio@cox.net> | |
Sat, 28 May 2005 04:05:38 +0000 (21:05 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Sun, 29 May 2005 18:40:40 +0000 (11:40 -0700) | ||
commit | 2bc2564145835996734d6ed5d1880f85b17233d6 | |
tree | d9f1166f2e7320e38fe94824ea410e4e7f09bac7 | tree | snapshot |
parent | f0c6b2a2fd98b51f1f2655ea69ace9763da28e79 | commit | diff |
[PATCH] Adjust diff-helper to diff-tree -v -z changes.
The latest change to diff-tree -z output adds an extra line
termination after non diff-raw material (the header and the
commit message). To compensate for this change, stop adding the
output termination of our own. "diff-tree -v -z" piped to
"diff-helper -z" would give different result from "diff-tree -v"
piped to "diff-helper" without this change.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
The latest change to diff-tree -z output adds an extra line
termination after non diff-raw material (the header and the
commit message). To compensate for this change, stop adding the
output termination of our own. "diff-tree -v -z" piped to
"diff-helper -z" would give different result from "diff-tree -v"
piped to "diff-helper" without this change.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff-helper.c | diff | blob | history |