MinGW: fix diff --no-index /dev/null ...
When launching "diff --no-index" with a parameter "/dev/null", the MSys bash converts the "/dev/null" to a "nul", which usually makes sense. But Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
3b167396b4
commit
36adb4abbd
@@ -87,7 +87,7 @@ nul_to_q() {
|
||||
|
||||
test_expect_success 'diff --no-index with binary creation' '
|
||||
echo Q | q_to_nul >binary &&
|
||||
(:# hide error code from diff, which just indicates differences
|
||||
(: hide error code from diff, which just indicates differences
|
||||
git diff --binary --no-index /dev/null binary >current ||
|
||||
true
|
||||
) &&
|
||||
|
||||
Reference in New Issue
Block a user