diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-11-06 07:50:21 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-06 07:50:21 +0100 |
commit | a29b8bcf624006cf66abe129c01c932ec75df9f7 (patch) | |
tree | f0b2fe07b7913d36e9151fc995aa3a31e3ffae65 /t/t4202-log.sh | |
parent | Merge branch 'jw/send-email-no-auth' (diff) | |
parent | exclude-promisor-objects: declare when option is allowed (diff) | |
download | git-a29b8bcf624006cf66abe129c01c932ec75df9f7.tar.xz git-a29b8bcf624006cf66abe129c01c932ec75df9f7.zip |
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
Diffstat (limited to 't/t4202-log.sh')
-rwxr-xr-x | t/t4202-log.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t4202-log.sh b/t/t4202-log.sh index 153a506151..819c24d10e 100755 --- a/t/t4202-log.sh +++ b/t/t4202-log.sh @@ -1703,4 +1703,8 @@ test_expect_success 'log --source paints symmetric ranges' ' test_cmp expect actual ' +test_expect_success '--exclude-promisor-objects does not BUG-crash' ' + test_must_fail git log --exclude-promisor-objects source-a +' + test_done |