t9700-perl-git.sh: Fix a test failure on Cygwin
[gitweb.git] / builtin-fsck.c
index b3d38fa277b3d0024b9c46a62cf15bc2448cc1e7..c58b0e337ed434ffb90cfb5c80540531d94a4a6a 100644 (file)
@@ -589,6 +589,7 @@ int cmd_fsck(int argc, const char **argv, const char *prefix)
        struct alternate_object_database *alt;
 
        errors_found = 0;
+       read_replace_refs = 0;
 
        argc = parse_options(argc, argv, prefix, fsck_opts, fsck_usage, 0);
        if (write_lost_and_found) {