summaryrefslogtreecommitdiff
path: root/diffcore-delta.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-02-28 20:19:47 -0800
committerJunio C Hamano <junkio@cox.net>2006-02-28 20:19:47 -0800
commitaeecd23ae2785a0462d42191974e9d9a8e439fbe (patch)
tree896d1112a041f1c9eda2b5157d253399d0d3a12f /diffcore-delta.c
parente3601e8bb76e46745d4919c3f30b1dddae040eb2 (diff)
downloadgit-aeecd23ae2785a0462d42191974e9d9a8e439fbe.tar.gz
diffcore-break: micro-optimize by avoiding delta between identical files.
We did not check if we have the same file on both sides when computing break score. This is usually not a problem, but if the user said --find-copies-harde with -B, we ended up trying a delta between the same data even when we know the SHA1 hash of both sides match. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'diffcore-delta.c')
0 files changed, 0 insertions, 0 deletions