summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e3ed67a)
raw | patch | inline | side by side (parent: e3ed67a)
author | Dmitry Ivankov <divanorama@gmail.com> | |
Thu, 23 Jun 2011 11:33:58 +0000 (17:33 +0600) | ||
committer | Jonathan Nieder <jrnieder@gmail.com> | |
Thu, 23 Jun 2011 15:04:36 +0000 (10:04 -0500) |
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>
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>
vcs-svn/fast_export.c | patch | blob | history |
diff --git a/vcs-svn/fast_export.c b/vcs-svn/fast_export.c
index 3efde20a0cac6309e51a51745be8919ee63dccde..19d7c34c25d7b41e5920ad252784b23771321392 100644 (file)
--- a/vcs-svn/fast_export.c
+++ b/vcs-svn/fast_export.c
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);
}