Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
merge-recursive.c: remove implicit dependency on the_index
[gitweb.git]
/
builtin
/
prune.c
diff --git
a/builtin/prune.c
b/builtin/prune.c
index d356ad70f6c3ad06112420e5a5f984fa38f09473..e42653b99cffe2f42f2fb853999a41465878ce02 100644
(file)
--- a/
builtin/prune.c
+++ b/
builtin/prune.c
@@
-121,7
+121,7
@@
int cmd_prune(int argc, const char **argv, const char *prefix)
read_replace_refs = 0;
ref_paranoia = 1;
revs.allow_exclude_promisor_objects_opt = 1;
-
init_revisions(
&revs, prefix);
+
repo_init_revisions(the_repository,
&revs, prefix);
argc = parse_options(argc, argv, prefix, options, prune_usage, 0);