summaryrefslogtreecommitdiff
path: root/compat/setenv.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-10-13 09:58:30 (GMT)
committerJonathan Nieder <jrnieder@gmail.com>2011-03-28 05:33:48 (GMT)
commitc846e4107876936bed7177a811559bd74a72dcd8 (patch)
tree88cf07597fb4018ddbb132852da08f7c1f9ef1d4 /compat/setenv.c
parentd3f131b57ec0e69a37bca882fa6bf39aa4c1c387 (diff)
downloadgit-c846e4107876936bed7177a811559bd74a72dcd8.zip
git-c846e4107876936bed7177a811559bd74a72dcd8.tar.gz
git-c846e4107876936bed7177a811559bd74a72dcd8.tar.bz2
vcs-svn: let deltas use data from preimage
The copyfrom_source instruction appends data from the preimage buffer to the end of output. Its arguments are a length and an offset relative to the beginning of the source view. With this change, the delta applier is able to reproduce all 5,636,613 blobs in the early history of the ASF repository. Tested with mkfifo backflow svn-fe <svn-asf-public-r0:940166 3<backflow | git fast-import --cat-blob-fd=3 3>backflow with svn-asf-public-r0:940166 produced by whatever version of Subversion the dumps in /dump/ on svn.apache.org use (presumably 1.6.something). Improved-by: Ramkumar Ramachandra <artagnon@gmail.com> Improved-by: David Barr <david.barr@cordelta.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Acked-by: Ramkumar Ramachandra <artagnon@gmail.com>
Diffstat (limited to 'compat/setenv.c')
0 files changed, 0 insertions, 0 deletions