t5601: add missing && cascade
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Mon, 16 Jan 2012 09:46:07 +0000 (16:46 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Jan 2012 00:26:24 +0000 (16:26 -0800)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5601-clone.sh

index 87ee01662c2fcfa58d8f9896fd43881e2e7ed7d6..49821eb4679cd302714ad26ff0947c2980216e00 100755 (executable)
@@ -9,9 +9,9 @@ test_expect_success setup '
        rm -fr .git &&
        test_create_repo src &&
        (
-               cd src
-               >file
-               git add file
+               cd src &&
+               >file &&
+               git add file &&
                git commit -m initial
        )