Avoid /dev/null on the command line.

The shell turns it into 'nul' (which we can't understand as an existing
file).
This commit is contained in:
Johannes Sixt
2007-09-03 18:15:39 +02:00
parent 3b06d6b12b
commit 1f25f36fec

View File

@@ -42,7 +42,8 @@ test_expect_success 'apply in reverse' '
git reset --hard second &&
git apply --reverse --binary --index patch &&
git diff >diff &&
git diff /dev/null diff
: > empty &&
git diff empty diff
'