summaryrefslogtreecommitdiff
path: root/src/xdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-07-24 17:11:49 -0700
committerRussell Belfer <rb@github.com>2013-07-24 17:11:49 -0700
commita5140f4dda66263a34080b11cfc34a49c9743100 (patch)
tree5c6d9ed1e5e7d29dbd39a856d0ba99d54345b114 /src/xdiff
parentf5c4d0225157a6e15fc08f07aa77b5e8f52cdac5 (diff)
downloadlibgit2-a5140f4dda66263a34080b11cfc34a49c9743100.tar.gz
Fix rename detection for tree-to-tree diffs
The performance improvements I introduced for rename detection were not able to run successfully for tree-to-tree diffs because the blob size was not known early enough and so the file signature always had to be calculated nonetheless. This change separates loading blobs into memory from calculating the signature. I can't avoid having to load the large blobs into memory, but by moving it forward, I'm able to avoid the signature calculation if the blob won't come into play for renames.
Diffstat (limited to 'src/xdiff')
0 files changed, 0 insertions, 0 deletions