summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2020-07-14 16:04:23 +0100
committerBen Hutchings <ben.hutchings@codethink.co.uk>2020-07-15 00:35:34 +0100
commit8948a44ffb03ba5467daceebdefc47c8900f51b2 (patch)
tree9bde04bbeb64d39a045c8e20f8641404bd69b5fc
parentec14b041121a85b4598dcfda63369a09c23c9963 (diff)
downloadlorry-8948a44ffb03ba5467daceebdefc47c8900f51b2.tar.gz
lorry.tar-importer: Delete unused variable
The $commit_time variable is unused since commit cf4a0dff36819 "Make tarball lorries reproducible", but it confused me into thinking the issue was still unfixed. Delete it to avoid confusing anyone else.
-rwxr-xr-xlorry.tar-importer1
1 files changed, 0 insertions, 1 deletions
diff --git a/lorry.tar-importer b/lorry.tar-importer
index 6cdad1d..2a7c746 100755
--- a/lorry.tar-importer
+++ b/lorry.tar-importer
@@ -43,7 +43,6 @@ open(FI, '|-', 'git', 'fast-import', '--quiet')
or die "Unable to start git fast-import: $!\n";
foreach my $tar_file (@ARGV)
{
- my $commit_time = time;
$tar_file =~ m,([^/]+)$,;
my $tar_name = $1;