]> granicus.if.org Git - git/commitdiff
t: drop unnecessary terminating semicolon in subshell
authorEric Sunshine <sunshine@sunshineco.com>
Mon, 2 Jul 2018 00:23:44 +0000 (20:23 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Jul 2018 19:38:04 +0000 (12:38 -0700)
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3102-ls-tree-wildcards.sh
t/t4010-diff-pathspec.sh
t/t9400-git-cvsserver-server.sh

index e804377f1cbf4f2c82c1aae3d902014d634a2cdc..1e16c6b8ea610c4582e63950b8939205fc228b25 100755 (executable)
@@ -23,7 +23,7 @@ test_expect_success 'ls-tree outside prefix' '
        cat >expect <<-EOF &&
        100644 blob $EMPTY_BLOB ../a[a]/three
        EOF
-       ( cd aa && git ls-tree -r HEAD "../a[a]"; ) >actual &&
+       ( cd aa && git ls-tree -r HEAD "../a[a]" ) >actual &&
        test_cmp expect actual
 '
 
index 35b35a81c8ce38b3fe29f33412d2e7c9ff1bf68d..b7f25071cfb24408f43634d016ac785bba282614 100755 (executable)
@@ -111,10 +111,10 @@ test_expect_success 'diff-tree -r with wildcard' '
 test_expect_success 'setup submodules' '
        test_tick &&
        git init submod &&
-       ( cd submod && test_commit first; ) &&
+       ( cd submod && test_commit first ) &&
        git add submod &&
        git commit -m first &&
-       ( cd submod && test_commit second; ) &&
+       ( cd submod && test_commit second ) &&
        git add submod &&
        git commit -m second
 '
index 06742748e99fda241ec629e34c0700ae4050692e..6b09da79bf3b1d0cb4cd8c02a8bb99cb1171427e 100755 (executable)
@@ -328,7 +328,7 @@ test_expect_success 'cvs update (subdirectories)' \
   '(for dir in A A/B A/B/C A/D E; do
       mkdir $dir &&
       echo "test file in $dir" >"$dir/file_in_$(echo $dir|sed -e "s#/# #g")"  &&
-      git add $dir;
+      git add $dir
    done) &&
    git commit -q -m "deep sub directory structure" &&
    git push gitcvs.git >/dev/null &&