git-am: print fair error message when format detection fails
authorNicolas Sebrecht <ni.s@laposte.net>
Fri, 7 Aug 2009 01:08:13 +0000 (20:08 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Aug 2009 23:54:29 +0000 (16:54 -0700)
Avoid git ending with this message:
"Patch format is not supported."

With improved error message in the format detection failure case by
Giuseppe Bilotta.

Signed-off-by: Nicolas Sebrecht <ni.s@laposte.net>
Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found