about summary refs log tree commit homepage
path: root/public-inbox-mda
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-04-09 22:42:38 +0000
committerEric Wong <e@80x24.org>2014-04-09 22:42:38 +0000
commit0db21f64f5e9a53185674badfcf5776c1ad964b3 (patch)
tree19508f5fe7ef5548c41da85b0479bf2a6aadf54d /public-inbox-mda
parentd2d769298498abe88f3256cf6609097d1ce74d42 (diff)
downloadpublic-inbox-0db21f64f5e9a53185674badfcf5776c1ad964b3.tar.gz
While we're at it, write some quick tests.
Diffstat (limited to 'public-inbox-mda')
-rwxr-xr-xpublic-inbox-mda1
1 files changed, 1 insertions, 0 deletions
diff --git a/public-inbox-mda b/public-inbox-mda
index 14017f68..411ac15f 100755
--- a/public-inbox-mda
+++ b/public-inbox-mda
@@ -52,6 +52,7 @@ if (PublicInbox->precheck($filter, $recipient) &&
                         defined $email or $email = "";
                         local $ENV{GIT_AUTHOR_NAME} = $name;
                         local $ENV{GIT_AUTHOR_EMAIL} = $email;
+                        local $ENV{GIT_AUTHOR_DATE} = $simple->header("Date");
                         local $ENV{GIT_COMMITTER_EMAIL} = $recipient;
                         local $ENV{GIT_COMMITTER_NAME} = $dst->{listname};