diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/import_gmane_spool | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/import_gmane_spool b/scripts/import_gmane_spool index d96c26c8..e072b810 100755 --- a/scripts/import_gmane_spool +++ b/scripts/import_gmane_spool @@ -41,6 +41,9 @@ foreach my $n (sort { $a <=> $b } grep(/\d+\z/, glob("*"))) { $s->header_set("Original-Received"); } + # this is needed for "git rev-list --since=..." to work + local $ENV{GIT_COMMITTER_DATE} = $s->header('Date'); + # triggers for the SA HEADER_SPAM rule foreach my $drop (qw(Approved)) { $s->header_set($drop) } |