Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
refresh_index: remove unnecessary calls to preload_index()
[gitweb.git]
/
builtin
/
prune.c
diff --git
a/builtin/prune.c
b/builtin/prune.c
index 4916a4daa264ee695dbfbde81dbd8ef0072ac9c4..41230f82157e48b2cd6741deae8de0e0d1c3be61 100644
(file)
--- a/
builtin/prune.c
+++ b/
builtin/prune.c
@@
-120,7
+120,7
@@
int cmd_prune(int argc, const char **argv, const char *prefix)
save_commit_buffer = 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);