summaryrefslogtreecommitdiff
path: root/vcs-svn/fast_export.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2011-06-15 07:31:35 (GMT)
committerJonathan Nieder <jrnieder@gmail.com>2011-06-15 07:31:35 (GMT)
commit157415a9a9589a1e8af28e68c6664d39c34877af (patch)
treef5595412452445a4393543bcb89a2f2620f83e79 /vcs-svn/fast_export.c
parent7a75e661c5cef9fcd7c84fe0fb22672a57d6373e (diff)
parentfbdd4f6fb477885e4bf81658e02c3542a861c695 (diff)
downloadgit-157415a9a9589a1e8af28e68c6664d39c34877af.zip
git-157415a9a9589a1e8af28e68c6664d39c34877af.tar.gz
git-157415a9a9589a1e8af28e68c6664d39c34877af.tar.bz2
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcs-svn/fast_export.c b/vcs-svn/fast_export.c
index 005674d..edc658d 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)))