[PATCH] Fix type-change handling when assigning the status code to filepairs.
authorJunio C Hamano <junkio@cox.net>
Wed, 25 May 2005 22:07:08 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 25 May 2005 22:21:57 +0000 (15:21 -0700)
commit96716a197658e069557e7615ce2019107d72225e
treed97f470b9c2ea0eaa0a8b41c0db510a11aaf6846
parent908bddab96230ed6d43726a8464057ad4c32d1a1
[PATCH] Fix type-change handling when assigning the status code to filepairs.

The interim single-liner '?' fix resulted delete entries that
should not have emitted coming out in the output as an
unintended side effect; I caught this with the "rename" test in
the test suite.  This patch instead fixes the code that assigns
the status code to each filepair.

I verified this does not break the testcase in udev.git tree Kay
Sievers gave us, by running git-diff-tree on that tree which
showed 21 file to symlink changes.

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