git-am foreign patch support: introduce patch_format
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 27 May 2009 09:25:16 +0000 (11:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 May 2009 06:04:50 +0000 (23:04 -0700)
commita5a6755a1d4707bf2fab7752e5c974ebf63d086a
tree7390f344c575f102a1db4c2e15dddc8e43e1cd66
parent33fd7169ed6658e898b414a66aefaad16b404ec5
git-am foreign patch support: introduce patch_format

Set up a framework to allow git-am to support patches which are not in
mailbox format. Introduce a patch_format variable that presently can
only be set from the command line, defaulting to 'mbox' (the only
supported format) if not specified.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-am.sh