Merge branch 'master' into next

* master:
  config.txt: fix placement of diff.noprefix
  t/t4018: avoid two unnecessary sub-shell invocations
This commit is contained in:
Junio C Hamano
2010-09-10 09:39:14 -07:00
2 changed files with 7 additions and 6 deletions

View File

@@ -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