summaryrefslogtreecommitdiff
path: root/sha1_file.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-20 16:54:07 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-20 17:08:56 (GMT)
commit7ca45252a35df8c78060ff233957fc558714a5d6 (patch)
tree134a415f97f1a53c45219dd55c99b6788ab13f15 /sha1_file.c
parent411746940f02f6fb90c4b6b97c6f07cee599c2e1 (diff)
downloadgit-7ca45252a35df8c78060ff233957fc558714a5d6.zip
git-7ca45252a35df8c78060ff233957fc558714a5d6.tar.gz
git-7ca45252a35df8c78060ff233957fc558714a5d6.tar.bz2
[PATCH] Simplify "reverse-diff" logic in the diff core.
Instead of swapping the arguments just before output, this patch makes the swapping happen on the input side of the diff core, when "reverse-diff" is in effect. This greatly simplifies the logic, but more importantly it is necessary for upcoming "copy detection" work. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions