[PATCH] guilt: improve patch header handling
Teach guilt to handle patch header Date Author AuthorDate etc lines,
to deal properly with git commits and tip-bot patches. Previously,
a Date line in the patch header was emitted into the commit message
body, which seems to confuse git format-patch.
With this applied, git log emits..
commit
40298016b331950394a4d6e12909506afc3cf54b
Author: Mike Galbraith <efault@gmx.de>
Date: Sun Feb 13 07:16:35 2011 +0100
..and gitk
Author: Mike Galbraith <efault@gmx.de> 2011-02-13 07:16:35
Committer: Mike Galbraith <mgalbraith@suse.de> 2011-02-14 05:09:05
..and git format-patch
From
40298016b331950394a4d6e12909506afc3cf54b Mon Sep 17 00:00:00 2001
From: Mike Galbraith <efault@gmx.de>
Date: Sun, 13 Feb 2011 07:16:35 +0100
Subject: [PATCH] guilt: improve patch header handling
Whereas previously, git log emitted..
commit
19e82183944cb645bb8f1f4c2fbcd3ee99698b05
Author: Mike Galbraith <efault@gmx.de>
Date: Mon Feb 14 05:24:10 2011 +0100 <== commit date
guilt: improve patch header handling
Date: Sun Feb 13 07:16:35 CET 2011 <== lands between subject and body
and gitk...
Author: Mike Galbraith <efault@gmx.de> 2011-02-14 05:24:10 <== authordate wrong
Committer: Mike Galbraith <mgalbraith@suse.de> 2011-02-14 05:24:10
and git format-patch
From
19e82183944cb645bb8f1f4c2fbcd3ee99698b05 Mon Sep 17 00:00:00 2001
From: Mike Galbraith <efault@gmx.de>
Date: Mon, 14 Feb 2011 05:24:10 +0100
Subject: [PATCH] guilt: improve patch header handling
Date: Sun Feb 13 07:16:35 CET 2011 <== lands in subject when imported into evolution
Signed-off-by: Mike Galbraith <efault@gmx.de>
Cc: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>