Code

git-am: fixed patch_format detection according to RFC2822
authorChristian Himpel <chressie@googlemail.com>
Fri, 25 Sep 2009 15:14:31 +0000 (17:14 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 25 Sep 2009 22:35:05 +0000 (15:35 -0700)
commit6900d750f4894e7bee714874c04cc14312cd91ec
treee00cfeb69df95e78c65bcb690e3e523661a2507a
parentfb3650ed100a549f80d822f28ccf0f82e9f75f3e
git-am: fixed patch_format detection according to RFC2822

RFC2822 specifies in paragraph 3.6.8, that optional header fields are
made up of any printable US-ASCII character except ' ' (space) and ':'
(colon).

The pattern for the egrep command is changed to match all of these
characters.

Signed-off-by: Christian Himpel <chressie@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-am.sh