]> git.ipfire.org Git - thirdparty/git.git/commit - combine-diff.c
combine-diff: reuse diff from the same blob.
authorJunio C Hamano <junkio@cox.net>
Thu, 2 Feb 2006 07:29:03 +0000 (23:29 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 2 Feb 2006 10:02:20 +0000 (02:02 -0800)
commit3c39e9bdebd68d8d45b3900bc21171642f4c6125
tree26a0cd29977c37ca8c206cd4a4a34651af525ec6
parent6a1f79c1f1a54f97f122a86c71837fb1f1408b67
combine-diff: reuse diff from the same blob.

When dealing with an insanely large Octopus, it is possible to
optimize by noticing that more than one parents have the same
blob and avoid running diff between a parent and the merge
result by reusing an earlier result.

Signed-off-by: Junio C Hamano <junkio@cox.net>
combine-diff.c