worktree: prepare for more checks of whether path can become worktree
[gitweb.git] / builtin / prune.c
index 72b0621b7683e4c7b8efced044b831bf9ebc1941..4916a4daa264ee695dbfbde81dbd8ef0072ac9c4 100644 (file)
@@ -118,7 +118,7 @@ int cmd_prune(int argc, const char **argv, const char *prefix)
 
        expire = TIME_MAX;
        save_commit_buffer = 0;
-       check_replace_refs = 0;
+       read_replace_refs = 0;
        ref_paranoia = 1;
        init_revisions(&revs, prefix);