commit-graph: not compatible with grafts
[gitweb.git] / builtin / pack-objects.c
index 4391504a91367bc8c4897e66921fe9a91263f0d0..33f23f99ceba8f52271f50759142579f656bcdf4 100644 (file)
@@ -3188,7 +3188,7 @@ int cmd_pack_objects(int argc, const char **argv, const char *prefix)
        if (DFS_NUM_STATES > (1 << OE_DFS_STATE_BITS))
                BUG("too many dfs states, increase OE_DFS_STATE_BITS");
 
-       check_replace_refs = 0;
+       read_replace_refs = 0;
 
        reset_pack_idx_option(&pack_idx_opts);
        git_config(git_pack_config, NULL);