From: Dmitry Ivankov Date: Thu, 23 Jun 2011 11:33:58 +0000 (+0600) Subject: vcs-svn: reset first_commit_done in fast_export_init X-Git-Tag: v1.7.10-rc0~118^2~4^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c5bcbcdcfa1e2a1977497cb3a342c0365c8d78d6;p=git.git vcs-svn: reset first_commit_done in fast_export_init first_commit_done has zero as a default value, but it is not reset back to zero in fast_export_init. Reset it back to zero so that each export will have proper initial state. Signed-off-by: Dmitry Ivankov Signed-off-by: Jonathan Nieder --- diff --git a/vcs-svn/fast_export.c b/vcs-svn/fast_export.c index 3efde20a0..19d7c34c2 100644 --- a/vcs-svn/fast_export.c +++ b/vcs-svn/fast_export.c @@ -31,6 +31,7 @@ static int init_postimage(void) void fast_export_init(int fd) { + first_commit_done = 0; if (buffer_fdinit(&report_buffer, fd)) die_errno("cannot read from file descriptor %d", fd); }