"ls-files -o" mishandled the top-level directory of another git
working tree that hangs in the current git working tree.
* en/dir-nonbare-embedded:
dir: avoid prematurely marking nonbare repositories as matches
t3000: fix some test description typos
test_expect_success 'ls-files --o --directory with mix of tracked states' '
test_expect_success 'ls-files -o --directory with mix of tracked states' '
(
cd nested &&
@ -184,7 +184,7 @@ test_expect_success 'ls-files --o --directory with mix of tracked states' '
@@ -184,7 +184,7 @@ test_expect_success 'ls-files --o --directory with mix of tracked states' '
)
'
test_expect_success 'ls-files --o --directory with glob filetype match only' '
test_expect_success 'ls-files -o --directory with glob filetype match only' '
(
cd nested &&
@ -198,7 +198,7 @@ test_expect_success 'ls-files --o --directory with glob filetype match only' '
@@ -198,7 +198,7 @@ test_expect_success 'ls-files --o --directory with glob filetype match only' '
)
'
test_expect_success 'ls-files --o --directory to get immediate paths under one dir only' '
test_expect_success 'ls-files -o --directory to get immediate paths under one dir only' '
(
cd nested &&
@ -212,4 +212,20 @@ test_expect_success 'ls-files --o --directory to get immediate paths under one d
@@ -212,4 +212,20 @@ test_expect_success 'ls-files --o --directory to get immediate paths under one d