diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-06-09 11:30:12 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-09 11:30:13 -0700 |
commit | 07768e03b5a5efc9d768d6afc6246d2ec345cace (patch) | |
tree | 34c7bd86258ada7c6801b1c75041e1b2e9c8b9fc /t | |
parent | Merge branch 'mn/sideband-no-ansi' (diff) | |
parent | shortlog: allow --exclude=<glob> to be passed (diff) | |
download | tgif-07768e03b5a5efc9d768d6afc6246d2ec345cace.tar.xz |
Merge branch 'jc/shortlog-ref-exclude'
"log --exclude=<glob> --all | shortlog" worked as expected, but
"shortlog --exclude=<glob> --all" was not accepted at the command
line argument parser level.
* jc/shortlog-ref-exclude:
shortlog: allow --exclude=<glob> to be passed
Diffstat (limited to 't')
-rwxr-xr-x | t/t4201-shortlog.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t4201-shortlog.sh b/t/t4201-shortlog.sh index 42866992cf..97fcb31d6e 100755 --- a/t/t4201-shortlog.sh +++ b/t/t4201-shortlog.sh @@ -188,4 +188,10 @@ test_expect_success 'shortlog ignores commits with missing authors' ' test_cmp expect actual ' +test_expect_success 'shortlog with revision pseudo options' ' + git shortlog --all && + git shortlog --branches && + git shortlog --exclude=refs/heads/m* --all +' + test_done |