Re: Re* [PATCH 2/2] check-ignore.c: fix segfault with '.' argument from repo root
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 20, 2013, 02:53 UTC
- Message-ID
- <7vppzv3dd8.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20130220020046.GC7860@pacific.linksys.moosehall>
Adam Spiers <git@adamspiers.org> writes:
> OK, thanks for the information. IMHO it would be nice if 'git > format-patch' and 'git am' supported this style of inline patch > inclusion, but maybe there are good reasons to discourage it?
"git am --scissors" is a way to process such e-mail where the patch submitter continues discussion in the top part of a message, concludes the message with:
A patch to do so is attached. -- >8 --
and then tells the MUA to read in an output from format-patch into the e-mail buffer. You still need to strip out unneeded headers like the "From ", "From: " and "Date: " lines when you add the scissors anyway, and this is applicable only for a single-patch series, so the "feature" does not fit well as a format-patch option.