Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew DeVore <matvore@google.com>2018-12-04 01:10:19 +0300
committerJunio C Hamano <gitster@pobox.com>2018-12-06 08:52:56 +0300
commitbbcde41a70a7e0264c214896aac84d1ec3fdcbf6 (patch)
treea43a0775df8d2cc095b39ddd9cefd94c4d7c11dc /builtin/prune.c
parent669b1d2aaec73ba762bf566078308075886ca208 (diff)
revision.c: put promisor option in specialized struct
Put the allow_exclude_promisor_objects flag in setup_revision_opt. When it was in rev_info, it was unclear when it was used, since rev_info is passed to functions that don't use the flag. This resulted in unnecessary setting of the flag in prune.c, so fix that as well. Signed-off-by: Matthew DeVore <matvore@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/prune.c')
-rw-r--r--builtin/prune.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/prune.c b/builtin/prune.c
index a5c784749e..4394d01c93 100644
--- a/builtin/prune.c
+++ b/builtin/prune.c
@@ -118,7 +118,6 @@ 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);