Skip to content

Commit c5bcbcd

Browse files
divanoramajrn
authored andcommitted
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 <[email protected]> Signed-off-by: Jonathan Nieder <[email protected]>
1 parent e3ed67a commit c5bcbcd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vcs-svn/fast_export.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ static int init_postimage(void)
3131

3232
void fast_export_init(int fd)
3333
{
34+
first_commit_done = 0;
3435
if (buffer_fdinit(&report_buffer, fd))
3536
die_errno("cannot read from file descriptor %d", fd);
3637
}

0 commit comments

Comments
 (0)