[PATCH] Re: Teach mailinfo to ignore everything before -- >8 -- mark
- From
- Nicolas Sebrecht <nicolas.s.dev@gmx.fr>
- Date
- Aug 24, 2009, 07:17 UTC
- Message-ID
- <20090824071711.GE3526@vidovic>
- In-Reply-To
- <20090824141623.6117@nanako3.lavabit.com>
[ Please, please, please, wrap your lines. ]
The 24/08/09, Nanako Shiraishi wrote:
> Looking at the way other people use the mark in their messages, I think this explanation isn't correct.
I'd say that should not document what people do but what the program does.
> A scissors mark doesn't have to be at the beginning. The line has to contain the mark, and it has to consist of only the mark, '-' minus, the phrase "cut here", and whitespaces.
...and (">8" or "<8"), you're right. But isn't the following mark a bit too much permissive?
->8 Subject: [PATCH] squashable to 925bd84 (Teach mailinfo to ignore everything before -- >8 -- mark, 2009-08-23)
Signed-off-by: Nicolas Sebrecht <nicolas.s.dev@gmx.fr> ---
This patch supersedes my previous round.
Documentation/git-am.txt | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt index fcacc94..1d10371 100644 --- a/Documentation/git-am.txt +++ b/Documentation/git-am.txt @@ -138,6 +138,10 @@ The commit message is formed by the title taken from the where the patch begins. Excess whitespace at the end of each line is automatically stripped. +If a line starts with a "-- >8 --" mark in the body of the message, +everything before (and the line itself) will be ignored. +Whitespaces and strings "cut here" are tolerated. + The patch is expected to be inline, directly following the message. Any line that is of the form:
-- Nicolas Sebrecht