3 test_description='ls-tree with(out) globs'
7 test_expect_success 'setup' '
9 touch a/one aa/two "a[a]/three" &&
10 git add a/one aa/two "a[a]/three" &&
14 test_expect_success 'ls-tree a[a] matches literally' '
15 cat >expected <<EOF &&
16 100644 blob e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 a[a]/three
18 git ls-tree -r HEAD "a[a]" >actual &&
19 test_cmp expected actual