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:
@ -3107,6 +3107,7 @@ static void get_object_list(int ac, const char **av)
|
||||
|
||||
repo_init_revisions(the_repository, &revs, NULL);
|
||||
save_commit_buffer = 0;
|
||||
revs.allow_exclude_promisor_objects_opt = 1;
|
||||
setup_revisions(ac, av, &revs, NULL);
|
||||
|
||||
/* make sure shallows are read */
|
||||
|
Reference in New Issue
Block a user