We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3717f91 + 4c7fda8 commit 2893137Copy full SHA for 2893137
t/t4062-diff-pickaxe.sh
@@ -14,8 +14,10 @@ test_expect_success setup '
14
test_tick &&
15
git commit -m "A 4k file"
16
'
17
+
18
+# OpenBSD only supports up to 255 repetitions, so repeat twice for 64*64=4096.
19
test_expect_success '-G matches' '
- git diff --name-only -G "^0{4096}$" HEAD^ >out &&
20
+ git diff --name-only -G "^(0{64}){64}$" HEAD^ >out &&
21
test 4096-zeroes.txt = "$(cat out)"
22
23
0 commit comments