Skip to content

Commit 240fe05

Browse files
committed
Merge branch 'nd/struct-pathspec'
* nd/struct-pathspec: Tweak t3102-ls-tree-wildcards to run on Windows
2 parents dbe9c5a + 145f86a commit 240fe05

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

t/t3102-ls-tree-wildcards.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
#!/bin/sh
22

3-
test_description='ls-tree with(out) wildcards'
3+
test_description='ls-tree with(out) globs'
44

55
. ./test-lib.sh
66

77
test_expect_success 'setup' '
8-
mkdir a aa "a*" &&
9-
touch a/one aa/two "a*/three" &&
10-
git add a/one aa/two "a*/three" &&
8+
mkdir a aa "a[a]" &&
9+
touch a/one aa/two "a[a]/three" &&
10+
git add a/one aa/two "a[a]/three" &&
1111
git commit -m test
1212
'
1313

14-
test_expect_success 'ls-tree a* matches literally' '
14+
test_expect_success 'ls-tree a[a] matches literally' '
1515
cat >expected <<EOF &&
16-
100644 blob e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 a*/three
16+
100644 blob e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 a[a]/three
1717
EOF
18-
git ls-tree -r HEAD "a*" >actual &&
18+
git ls-tree -r HEAD "a[a]" >actual &&
1919
test_cmp expected actual
2020
'
2121

0 commit comments

Comments
 (0)