Code

diff -p: squelch "diff --git" header for stat-dirty paths
[git.git] / t / t9603-cvsimport-patchsets.sh
index 93c4fa885eeff16c57a58d8dc4fa7537cde54ea9..52034c8f77abd2eb0079866331c49a2f5f34e20d 100755 (executable)
@@ -19,12 +19,12 @@ setup_cvs_test_repository t9603
 test_expect_failure 'import with criss cross times on revisions' '
 
     git cvsimport -p"-x" -C module-git module &&
-    cd module-git &&
+    (cd module-git &&
         git log --pretty=format:%s > ../actual-master &&
         git log A~2..A --pretty="format:%s %ad" -- > ../actual-A &&
         echo "" >> ../actual-master &&
-        echo "" >> ../actual-A &&
-    cd .. &&
+       echo "" >> ../actual-A
+    ) &&
     echo "Rev 4
 Rev 3
 Rev 2