diff: make sure --output=/bad/path is caught
commit8324b977aef3d2301f170e23f498b50e11302575
authorLarry D'Anna <larry@elder-gods.org>
Tue, 16 Feb 2010 04:10:45 +0000 (15 23:10 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Feb 2010 05:46:01 +0000 (15 21:46 -0800)
treec8a923851921f2f2efd50094deb9235afa966e8a
parent33f0ea42e12d3f54ef8ff53580649885c1503d05
diff: make sure --output=/bad/path is caught

The return value from fopen wasn't being checked.

Signed-off-by: Larry D'Anna <larry@elder-gods.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c