Code

UI consistency: allow --force for where -f means force
[git.git] / builtin-pack-objects.c
index 9cc8a8451d21840b315d1355207293a1b0bcbf2c..c4337480fd3ebbe86919b3014316143ecfa0ccaf 100644 (file)
@@ -2098,6 +2098,8 @@ int cmd_pack_objects(int argc, const char **argv, const char *prefix)
        int rp_ac_alloc = 64;
        int rp_ac;
 
+       read_replace_refs = 0;
+
        rp_av = xcalloc(rp_ac_alloc, sizeof(*rp_av));
 
        rp_av[0] = "pack-objects";