worktree: allow to (re)move worktrees with uninitialized submodules
[gitweb.git] / t / t3000-ls-files-others.sh
index c525656b2c04f8999482496688a0bd47ae8da9e2..afd475613430f6ff7490d9e37d37b76bab934f73 100755 (executable)
@@ -84,7 +84,7 @@ test_expect_success SYMLINKS 'ls-files --others with symlinked submodule' '
        ) &&
        (
                cd super &&
-               "$SHELL_PATH" "$TEST_DIRECTORY/../contrib/workdir/git-new-workdir" ../sub sub
+               "$SHELL_PATH" "$TEST_DIRECTORY/../contrib/workdir/git-new-workdir" ../sub sub &&
                git ls-files --others --exclude-standard >../actual
        ) &&
        echo sub/ >expect &&