diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2009-03-07 16:51:33 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-07 20:36:16 -0800 |
commit | 36adb4abbdf809371b88581c8bf7fe9ea9a5b00a (patch) | |
tree | c9f49462da79b147ba69c31e5d2b810b4529e05f /t/t4012-diff-binary.sh | |
parent | 3b167396b416541f7559f3141392d56b93ea049c (diff) | |
download | git-36adb4abbdf809371b88581c8bf7fe9ea9a5b00a.tar.gz |
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>
Diffstat (limited to 't/t4012-diff-binary.sh')
-rwxr-xr-x | t/t4012-diff-binary.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4012-diff-binary.sh b/t/t4012-diff-binary.sh index 3cf5b5c4ea..f64aa48d24 100755 --- a/t/t4012-diff-binary.sh +++ b/t/t4012-diff-binary.sh @@ -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 ) && |