summaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-11-21 22:57:52 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-11-21 22:57:52 +0900
commitb52ac60bc461a16076209a3027bb15f7c890f148 (patch)
treef16de68f0513127fff42a457a9ff56a3f0f37132 /revision.h
parentMerge branch 'js/shallow-and-fetch-prune' into maint (diff)
parentexclude-promisor-objects: declare when option is allowed (diff)
downloadtgif-b52ac60bc461a16076209a3027bb15f7c890f148.tar.xz
Merge branch 'md/exclude-promisor-objects-fix' into maint
Operations on promisor objects make sense in the context of only a small subset of the commands that internally use the revisions machinery, but the "--exclude-promisor-objects" option were taken and led to nonsense results by commands like "log", to which it didn't make much sense. This has been corrected. * md/exclude-promisor-objects-fix: exclude-promisor-objects: declare when option is allowed Documentation/git-log.txt: do not show --exclude-promisor-objects
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.h b/revision.h
index 007278cc11..701a4973dd 100644
--- a/revision.h
+++ b/revision.h
@@ -127,6 +127,7 @@ struct rev_info {
tree_blobs_in_commit_order:1,
/* for internal use only */
+ allow_exclude_promisor_objects_opt:1,
exclude_promisor_objects:1;
/* Diff flags */