summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-06-25 11:49:10 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-06-25 11:49:11 -0700
commit8675779454ed3007bd2a8f83d013e05a65c2d480 (patch)
tree2fa13d33597da190866a5655f36a45584da4c90f /t
parentMerge branch 'jl/remote-rm-prune' into maint (diff)
parentshortlog: allow --exclude=<glob> to be passed (diff)
downloadtgif-8675779454ed3007bd2a8f83d013e05a65c2d480.tar.xz
Merge branch 'jc/shortlog-ref-exclude' into maint
"git log --exclude=<glob> --all | git shortlog" worked as expected, but "git shortlog --exclude=<glob> --all", which is supposed to be identical to the above pipeline, 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-xt/t4201-shortlog.sh6
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