Change remote tracking to remote-tracking in non-trivial places
[gitweb.git] / t / t4018-diff-funcname.sh
index 9a57898339dbcc44a6c7bdb0534db1290d7a1aa6..0a61b57b5f6f00ae4c0734a34ce45c0ba1fcf098 100755 (executable)
@@ -37,13 +37,13 @@ for p in $builtin_patterns
 do
        test_expect_success "builtin $p pattern compiles" '
                echo "*.java diff=$p" > .gitattributes &&
-               ! ( git diff --no-index Beer.java Beer-correct.java 2>&1 |
-                       grep "fatal" > /dev/null )
+               ! { git diff --no-index Beer.java Beer-correct.java 2>&1 |
+                       grep "fatal" > /dev/null; }
        '
        test_expect_success "builtin $p wordRegex pattern compiles" '
-               ! ( git diff --no-index --word-diff \
+               ! { git diff --no-index --word-diff \
                        Beer.java Beer-correct.java 2>&1 |
-                       grep "fatal" > /dev/null )
+                       grep "fatal" > /dev/null; }
        '
 done