]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/V2Writable.pm
v2writable: move git->cleanup to the correct place
[public-inbox.git] / lib / PublicInbox / V2Writable.pm
index 7ece6b014ff0f24f2f527da3a43565307c8faa4e..33c0038d18ebac631c2b2a9c84f55222d5d3d5ac 100644 (file)
@@ -1280,8 +1280,8 @@ sub index_sync {
                        $self->{current_info} = "multi_mid $oid";
                        reindex_oid_m($self, $sync, $git, $oid);
                }
-               $git->cleanup if $git;
        }
+       $git->cleanup if $git;
        $self->done;
 
        if (my $nr = $sync->{nr}) {