]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Import.pm
nntp: remove cyclic refs from long_response
[public-inbox.git] / lib / PublicInbox / Import.pm
index 8a369ee44c99a5cb50a56d5af06afbe5a08873ad..46de09c40792c511b835de6bded17b8c8173a1a9 100644 (file)
@@ -178,14 +178,14 @@ sub _update_git_info ($$) {
                my $env = { GIT_INDEX_FILE => $index };
                run_die([@cmd, qw(read-tree -m -v -i), $self->{ref}], $env);
        }
-       run_die([@cmd, 'update-server-info'], undef);
+       run_die([@cmd, 'update-server-info']);
        my $ibx = $self->{-inbox};
        ($ibx && $self->{path_type} eq '2/38') and eval {
                require PublicInbox::SearchIdx;
                my $s = PublicInbox::SearchIdx->new($ibx);
                $s->index_sync({ ref => $self->{ref} });
        };
-       eval { run_die([@cmd, qw(gc --auto)], undef) } if $do_gc;
+       eval { run_die([@cmd, qw(gc --auto)]) } if $do_gc;
 }
 
 sub barrier {