Merge branch 'jh/partial-clone-doc'
[gitweb.git] / t / t2202-add-addremove.sh
index e84079d81fb75da12b8e3098c803b503247a3706..9ee659098c45fbc18dfb5ccc2292f978320c1ebb 100755 (executable)
@@ -6,12 +6,12 @@ test_description='git add --all'
 
 test_expect_success setup '
        (
-               echo .gitignore
+               echo .gitignore &&
                echo will-remove
        ) >expect &&
        (
-               echo actual
-               echo expect
+               echo actual &&
+               echo expect &&
                echo ignored
        ) >.gitignore &&
        git --literal-pathspecs add --all &&
@@ -25,10 +25,10 @@ test_expect_success setup '
 
 test_expect_success 'git add --all' '
        (
-               echo .gitignore
-               echo not-ignored
-               echo "M .gitignore"
-               echo "A not-ignored"
+               echo .gitignore &&
+               echo not-ignored &&
+               echo "M .gitignore" &&
+               echo "A not-ignored" &&
                echo "D will-remove"
        ) >expect &&
        >ignored &&