Improve documentation and comments regarding directory traversal API
[gitweb.git] / t / t3060-ls-files-with-tree.sh
index 25afb4faebc63a21a30024017820f91c6499776d..61c1f53d1b75302be60396d2e01ccd5da5b6e5b4 100755 (executable)
@@ -53,13 +53,13 @@ test_expect_success setup '
        git add .
 '
 
-# We have to run from a sub-directory to trigger prune_path
-# Then we finally get to run our --with-tree test
-
 test_expect_success 'git -ls-files --with-tree should succeed from subdir' '
-
-       (cd sub && git ls-files --with-tree=HEAD~1 >../output)
-
+       # We have to run from a sub-directory to trigger prune_path
+       # Then we finally get to run our --with-tree test
+       (
+               cd sub &&
+               git ls-files --with-tree=HEAD~1 >../output
+       )
 '
 
 test_expect_success \