diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-10-13 04:58:30 -0500 |
---|---|---|
committer | Jonathan Nieder <jrnieder@gmail.com> | 2011-03-28 00:33:48 -0500 |
commit | c846e4107876936bed7177a811559bd74a72dcd8 (patch) | |
tree | 88cf07597fb4018ddbb132852da08f7c1f9ef1d4 /upload-pack.c | |
parent | vcs-svn: let deltas use data from postimage (diff) | |
download | tgif-c846e4107876936bed7177a811559bd74a72dcd8.tar.xz |
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 'upload-pack.c')
0 files changed, 0 insertions, 0 deletions