Merge branch 'md/exclude-promisor-objects-fix'

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
This commit is contained in:
Junio C Hamano
2018-11-06 15:50:21 +09:00
8 changed files with 15 additions and 2 deletions

View File

@ -156,6 +156,7 @@ struct rev_info {
do_not_die_on_missing_tree:1,
/* for internal use only */
allow_exclude_promisor_objects_opt:1,
exclude_promisor_objects:1;
/* Diff flags */