author | Junio C Hamano <junkio@cox.net> | |
Thu, 3 Aug 2006 18:57:11 +0000 (11:57 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 3 Aug 2006 21:41:53 +0000 (14:41 -0700) | ||
commit | 53dd8a9cb524ac2bd99072d86ee31ee48c99d0be | |
tree | 18634b872986a346d716facf5b968906f0c1439b | tree | snapshot |
parent | ef677686efe1868432d3cc9d4c41a93b44f3def8 | commit | diff |
Show both blob names from "git diff blob1 blob2"
Earlier we deliberately showed only blob1's name because showing
both names labeled the output as a renaming patch. Now the output
routine (namely, diff.c::resolve_rename_copy()) is taught not to
use pathname comparison to tell if a filepair is a rename, we can
safely do this change.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Earlier we deliberately showed only blob1's name because showing
both names labeled the output as a renaming patch. Now the output
routine (namely, diff.c::resolve_rename_copy()) is taught not to
use pathname comparison to tell if a filepair is a rename, we can
safely do this change.
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-diff.c | diff | blob | history |