Merge branch 'ds/multi-pack-index'
[gitweb.git] / builtin / index-pack.c
index de311febe3034cb17cb26a57757c144842af8d9f..9582ead9507ee27f88386fcc55c044eba233c770 100644 (file)
@@ -1680,7 +1680,7 @@ int cmd_index_pack(int argc, const char **argv, const char *prefix)
        if (argc == 2 && !strcmp(argv[1], "-h"))
                usage(index_pack_usage);
 
-       check_replace_refs = 0;
+       read_replace_refs = 0;
        fsck_options.walk = mark_link;
 
        reset_pack_idx_option(&opts);