diff.c: do not use pathname comparison to tell renames
authorJunio C Hamano <junkio@cox.net>
Thu, 3 Aug 2006 19:01:01 +0000 (12:01 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 3 Aug 2006 21:41:53 +0000 (14:41 -0700)
The final output from diff used to compare pathnames between
preimage and postimage to tell if the filepair is a rename/copy.
By explicitly marking the filepair created by diffcore_rename(),
the output routine, resolve_rename_copy(), does not have to do
so anymore. This helps feeding a filepair that has different
pathnames in one and two elements to the diff machinery (most
notably, comparing two blobs).

Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found