Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2011-06-15 11:31:35 +0400
committerJonathan Nieder <jrnieder@gmail.com>2011-06-15 11:31:35 +0400
commit157415a9a9589a1e8af28e68c6664d39c34877af (patch)
treef5595412452445a4393543bcb89a2f2620f83e79 /vcs-svn/fast_export.c
parent7a75e661c5cef9fcd7c84fe0fb22672a57d6373e (diff)
parentfbdd4f6fb477885e4bf81658e02c3542a861c695 (diff)
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 005674d8c1..edc658d4fe 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)))