From 1f25f36fec4dd895cc6fb73e9cfdecb41e34d155 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Mon, 3 Sep 2007 18:15:39 +0200 Subject: [PATCH] Avoid /dev/null on the command line. The shell turns it into 'nul' (which we can't understand as an existing file). --- t/t4116-apply-reverse.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/t4116-apply-reverse.sh b/t/t4116-apply-reverse.sh index 9ae2b3a8ef..359f347b2c 100755 --- a/t/t4116-apply-reverse.sh +++ b/t/t4116-apply-reverse.sh @@ -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 '