diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2011-06-15 02:31:35 -0500 |
---|---|---|
committer | Jonathan Nieder <jrnieder@gmail.com> | 2011-06-15 02:31:35 -0500 |
commit | 157415a9a9589a1e8af28e68c6664d39c34877af (patch) | |
tree | f5595412452445a4393543bcb89a2f2620f83e79 /vcs-svn/fast_export.c | |
parent | 7a75e661c5cef9fcd7c84fe0fb22672a57d6373e (diff) | |
parent | fbdd4f6fb477885e4bf81658e02c3542a861c695 (diff) | |
download | git-157415a9a9589a1e8af28e68c6664d39c34877af.tar.gz git-157415a9a9589a1e8af28e68c6664d39c34877af.tar.xz |
Merge branch 'db/delta-applier' into db/text-delta
* db/delta-applier:
vcs-svn: cap number of bytes read from sliding view
test-svn-fe: split off "test-svn-fe -d" into a separate function
Diffstat (limited to 'vcs-svn/fast_export.c')
-rw-r--r-- | vcs-svn/fast_export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcs-svn/fast_export.c b/vcs-svn/fast_export.c index 005674d8c..edc658d4f 100644 --- a/vcs-svn/fast_export.c +++ b/vcs-svn/fast_export.c @@ -187,7 +187,7 @@ static long apply_delta(off_t len, struct line_buffer *input, { long ret; off_t preimage_len = 0; - struct sliding_view preimage = SLIDING_VIEW_INIT(&report_buffer); + struct sliding_view preimage = SLIDING_VIEW_INIT(&report_buffer, -1); FILE *out; if (init_postimage() || !(out = buffer_tmpfile_rewind(&postimage))) |