send-email: explicitly disable authentication
[gitweb.git] / builtin / prune.c
index 72b0621b7683e4c7b8efced044b831bf9ebc1941..41230f82157e48b2cd6741deae8de0e0d1c3be61 100644 (file)
@@ -118,9 +118,9 @@ 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);
+       repo_init_revisions(the_repository, &revs, prefix);
 
        argc = parse_options(argc, argv, prefix, options, prune_usage, 0);