fast-import: exclude big files from delta search.
commit22e313f8c853c012f351f53e81c376d8724839a2
authorSam Hocevar <sam@zoy.org>
Tue, 17 Mar 2009 07:49:55 +0000 (17 08:49 +0100)
committerSam Hocevar <sam@zoy.org>
Tue, 17 Mar 2009 07:49:55 +0000 (17 08:49 +0100)
tree2ae2231c213f15dcc1bd995ace8af3ef60d3a89f
parent4fd8f1182f4d114a0d027232f31c1bddf1ca6a77
fast-import: exclude big files from delta search.

If a file is larger than core.bigFileThreshold, we deflate it on-the-fly
instead of keeping an entire copy in memory. fast-import is now twice as
fast and memory usage decreases more than threefold when importing big
files.
fast-import.c