t4150: test applying StGit patch
commit1daaddd1d3fc92e1766fb5d9701db0418c6813bc
authorPaul Tan <pyokagan@gmail.com>
Mon, 8 Jun 2015 15:48:47 +0000 (8 23:48 +0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Jun 2015 19:42:02 +0000 (8 12:42 -0700)
tree1161d4db558efe095364345f9a94abae08d1b586
parent3d4a3ffe64162b45ae7c991fc60623ecb4678cfd
t4150: test applying StGit patch

By default, an StGit patch separates the subject from the commit message
and headers as follows:

$subject

From: $author_name <$author_email>

$message
---
$diffstats

We test git-am's ability to detect such a patch as an StGit patch, and
its ability to be able to extract the commit author, date and message
from such a patch.

Based-on-patch-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Paul Tan <pyokagan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4150-am.sh