Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
exclude-promisor-objects: declare when option is allowed
[gitweb.git]
/
builtin
/
prune.c
diff --git
a/builtin/prune.c
b/builtin/prune.c
index 4394d01c9350ae3e1fa26de034edf1509128469e..a5c784749eaebd92655800ab87b2df5512501603 100644
(file)
--- a/
builtin/prune.c
+++ b/
builtin/prune.c
@@
-118,6
+118,7
@@
int cmd_prune(int argc, const char **argv, const char *prefix)
save_commit_buffer = 0;
check_replace_refs = 0;
ref_paranoia = 1;
+ revs.allow_exclude_promisor_objects_opt = 1;
init_revisions(&revs, prefix);
argc = parse_options(argc, argv, prefix, options, prune_usage, 0);