Merge branch 'cc/subprocess-handshake-missing-capabilities' into next
[gitweb.git] / t / t4062-diff-pickaxe.sh
index 9f3ce4bc693754c7b24c347b606bd1ba5114b96b..1130c8019b4c14975744f31f360886ffb4c3f14c 100755 (executable)
@@ -21,4 +21,9 @@ test_expect_success '-G matches' '
        test 4096-zeroes.txt = "$(cat out)"
 '
 
+test_expect_success '-S --pickaxe-regex' '
+       git diff --name-only -S0 --pickaxe-regex HEAD^ >out &&
+       verbose test 4096-zeroes.txt = "$(cat out)"
+'
+
 test_done