about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiInspect.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/LeiInspect.pm')
-rw-r--r--lib/PublicInbox/LeiInspect.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiInspect.pm b/lib/PublicInbox/LeiInspect.pm
index 25bd47e7..2385f7f8 100644
--- a/lib/PublicInbox/LeiInspect.pm
+++ b/lib/PublicInbox/LeiInspect.pm
@@ -202,7 +202,8 @@ sub ins_add { # InputPipe->consume callback
                         my $str = delete $lei->{istr};
                         $str =~ s/\A[\r\n]*From [^\r\n]*\r?\n//s;
                         my $eml = PublicInbox::Eml->new(\$str);
-                        _inspect_argv($lei, [ 'blob:'.$lei->git_blob_id($eml),
+                        _inspect_argv($lei, [
+                                'blob:'.$lei->git_oid($eml)->hexdigest,
                                 map { "mid:$_" } @{mids($eml)} ]);
                 };
                 $lei->{istr} .= $_[1];