about summary refs log tree commit homepage
path: root/scripts
diff options
authorEric Wong <e@80x24.org>2014-04-20 20:40:55 +0000
committerEric Wong <e@80x24.org>2014-04-20 20:40:55 +0000
commit66a26a8c44100fe4be59d82f3600a5c14495d49d (patch)
tree2adff2d2fba6232c157fc71c8a45750eb4b1e0a3 /scripts
parentcd195aaa6552b44385417827842d34f27fc84224 (diff)
We normally want committer date to be different so we may
track delivery latencies (which do not differ much).
However, the rules for importing are much different and
tend to screw things up when using time ranges with git-rev-list.
Diffstat (limited to 'scripts')
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("*"))) {
+                # 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) }