summaryrefslogtreecommitdiff
path: root/t/t4062-diff-pickaxe.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t4062-diff-pickaxe.sh')
-rwxr-xr-xt/t4062-diff-pickaxe.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t4062-diff-pickaxe.sh b/t/t4062-diff-pickaxe.sh
index f0bf50bda7..7c4903f497 100755
--- a/t/t4062-diff-pickaxe.sh
+++ b/t/t4062-diff-pickaxe.sh
@@ -19,4 +19,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