From 8e81d6f0d44198717ae540421a09824d75c9bb6d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 20 Mar 2020 08:18:13 +0000 Subject: index: use git commit times on missing Date/Received When indexing messages without Date: and/or Received: headers, fall back to using timestamps originally recorded by git in the commit object. This allows git mirrors to preserve the import datestamp and timestamp of a message according to what was fed into git, instead of blindly falling back to the current time. --- MANIFEST | 1 + 1 file changed, 1 insertion(+) (limited to 'MANIFEST') diff --git a/MANIFEST b/MANIFEST index 265ad909..f9230cd3 100644 --- a/MANIFEST +++ b/MANIFEST @@ -242,6 +242,7 @@ t/httpd.t t/hval.t t/import.t t/inbox.t +t/index-git-times.t t/indexlevels-mirror-v1.t t/indexlevels-mirror.t t/init.t -- cgit v1.2.3-24-ge0c7