]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/SolverGit.pm
watch: block signals before fork on non-signalfd/kevent systems
[public-inbox.git] / lib / PublicInbox / SolverGit.pm
index f718e28cbd55af423a4ad41d15c4e2a141ac55e2..ddf5fa16b4b10ee502454982685324f19069424d 100644 (file)
@@ -233,8 +233,8 @@ sub find_extract_diffs ($$$) {
 
        my $diffs = [];
        foreach my $smsg (@$msgs) {
-               $ibx->smsg_mime($smsg) or next;
-               delete($smsg->{mime})->each_part(\&extract_diff,
+               my $eml = $ibx->smsg_eml($smsg) or next;
+               $eml->each_part(\&extract_diff,
                                [$self, $diffs, $pre, $post, $ibx, $smsg], 1);
        }
        @$diffs ? $diffs : undef;
@@ -594,7 +594,7 @@ sub new {
 }
 
 # recreate $oid_want using $hints
-# hints keys: path_a, path_b, oid_a
+# hints keys: path_a, path_b, oid_a (note: `oid_b' is NOT a hint)
 # Calls {user_cb} with: [ ::Git object, oid_full, type, size, di (diff_info) ]
 # with found object, or undef if nothing was found
 # Calls {user_cb} with a string error on fatal errors