git-am: print fair error message when format detection fails
commit46caf5053f0a784911c66530928e6e4361a783f2
authorNicolas Sebrecht <ni.s@laposte.net>
Fri, 7 Aug 2009 01:08:13 +0000 (6 20:08 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Aug 2009 03:52:09 +0000 (6 20:52 -0700)
treecd61da0468c22f8c4c5cee0904d507f70cb7390d
parent0fcb2caf29d2ff9822cbb3440c5c2c495cf430f0
git-am: print fair error message when format detection fails

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>
git-am.sh