summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-08-03 11:57:11 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-08-03 14:41:53 -0700
commit53dd8a9cb524ac2bd99072d86ee31ee48c99d0be (patch)
tree18634b872986a346d716facf5b968906f0c1439b /diff.c
parentdiff.c: do not use pathname comparison to tell renames (diff)
downloadtgif-53dd8a9cb524ac2bd99072d86ee31ee48c99d0be.tar.xz
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>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions