summaryrefslogtreecommitdiff
path: root/vcs-svn/fast_export.c
diff options
context:
space:
mode:
authorDmitry Ivankov <divanorama@gmail.com>2011-06-23 11:33:58 (GMT)
committerJonathan Nieder <jrnieder@gmail.com>2011-06-23 15:04:36 (GMT)
commitc5bcbcdcfa1e2a1977497cb3a342c0365c8d78d6 (patch)
treea453ddd484c0600818fc588e08a4fe28bc59a22a /vcs-svn/fast_export.c
parente3ed67a3d55aca54bdbdabaa57f73d73a0af0fe6 (diff)
downloadgit-c5bcbcdcfa1e2a1977497cb3a342c0365c8d78d6.zip
git-c5bcbcdcfa1e2a1977497cb3a342c0365c8d78d6.tar.gz
git-c5bcbcdcfa1e2a1977497cb3a342c0365c8d78d6.tar.bz2
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 <divanorama@gmail.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 'vcs-svn/fast_export.c')
-rw-r--r--vcs-svn/fast_export.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcs-svn/fast_export.c b/vcs-svn/fast_export.c
index 3efde20..19d7c34 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);
}