X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-prune.c;h=8459aec8e8ea9d24a13448cf950d2e160361fd9d;hb=69abb194eed5b2f06590d0145e4034300c3e7ac9;hp=145ba83651e9c8560e20d6ab449ce64783bc65f5;hpb=9e4a90ba19033d25dca1eea495b0a8c5f06efbc6;p=git.git diff --git a/builtin-prune.c b/builtin-prune.c index 145ba8365..8459aec8e 100644 --- a/builtin-prune.c +++ b/builtin-prune.c @@ -140,9 +140,10 @@ int cmd_prune(int argc, const char **argv, const char *prefix) char *s; save_commit_buffer = 0; + read_replace_refs = 0; init_revisions(&revs, prefix); - argc = parse_options(argc, argv, options, prune_usage, 0); + argc = parse_options(argc, argv, prefix, options, prune_usage, 0); while (argc--) { unsigned char sha1[20]; const char *name = *argv++;