diff options
Diffstat (limited to 'builtin-prune.c')
-rw-r--r-- | builtin-prune.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin-prune.c b/builtin-prune.c index 145ba83651..8459aec8e8 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++; |