]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t4202-log.sh
Merge branch 'ab/grep-simplify-extended-expression'
[thirdparty/git.git] / t / t4202-log.sh
index cc15cb4ff62ab4c939b369826e5795e46f218d84..2ce2b41174d501f998b9e9edb4faa8ba969629f6 100755 (executable)
@@ -249,6 +249,15 @@ test_expect_success 'log --grep' '
        test_cmp expect actual
 '
 
+for noop_opt in --invert-grep --all-match
+do
+       test_expect_success "log $noop_opt without --grep is a NOOP" '
+               git log >expect &&
+               git log $noop_opt >actual &&
+               test_cmp expect actual
+       '
+done
+
 cat > expect << EOF
 second
 initial