]> git.ipfire.org Git - thirdparty/git.git/commit - diffcore-rename.c
[PATCH] diff: fix the culling of unneeded delete record.
authorJunio C Hamano <junkio@cox.net>
Mon, 30 May 2005 07:08:07 +0000 (00:08 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 30 May 2005 17:35:49 +0000 (10:35 -0700)
commit2cd68882ee8629f9782be017007fff4c78e45e45
tree8a0c8a7ec9671d06cb33bb4d91596ddb9877b961
parent9d429ff6ff2832d6e63933e6d33b8380be703017
[PATCH] diff: fix the culling of unneeded delete record.

The commit 15d061b435a7e3b6bead39df3889f4af78c4b00a

    [PATCH] Fix the way diffcore-rename records unremoved source.

still leaves unneeded delete records in its output stream by
mistake, which was covered up by having an extra check to turn
such a delete into a no-op downstream.  Fix the check in the
diffcore-rename to simplify the output routine.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff.c
diffcore-rename.c