Merge branch 'nd/tag-version-sort'
[gitweb.git] / builtin / index-pack.c
index 2f37a38fbcdf131ab5897e47728c5773ba36b861..a6b1c17996da28cef97560378e7586bbf1bd8b6b 100644 (file)
@@ -1502,7 +1502,7 @@ int cmd_index_pack(int argc, const char **argv, const char *prefix)
        if (argc == 2 && !strcmp(argv[1], "-h"))
                usage(index_pack_usage);
 
-       read_replace_refs = 0;
+       check_replace_refs = 0;
 
        reset_pack_idx_option(&opts);
        git_config(git_index_pack_config, &opts);