]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Import.pm
import: run "git gc --auto" when done
[public-inbox.git] / lib / PublicInbox / Import.pm
index 083fb1bc220949488820e3cbec79fed1b54e53c8..611f7b1609bdcd554f2b81bae1901c279427495c 100644 (file)
@@ -240,6 +240,7 @@ sub done {
                        my $s = PublicInbox::SearchIdx->new($inbox);
                        $s->index_sync({ ref => $self->{ref} });
                };
+               run_die([@cmd, qw(gc --auto)], undef);
        }
 
        my $lockfh = delete $self->{lockfh} or die "BUG: not locked: $!";