Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
usability: don't ask questions if no reply is required
[gitweb.git]
/
t
/
t4062-diff-pickaxe.sh
diff --git
a/t/t4062-diff-pickaxe.sh
b/t/t4062-diff-pickaxe.sh
index f0bf50bda780f04f9f2ffc2c1f39e354f69ae193..7c4903f49713a22d7fba28a608acf07f1330110b 100755
(executable)
--- 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