about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/Git.pm7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/PublicInbox/Git.pm b/lib/PublicInbox/Git.pm
index 9d0f660b..f3b7a0a0 100644
--- a/lib/PublicInbox/Git.pm
+++ b/lib/PublicInbox/Git.pm
@@ -332,13 +332,6 @@ sub cat_async ($$$;$) {
         push(@$inflight, [ $cb, $arg ]);
 }
 
-sub commit_title ($$) {
-        my ($self, $oid) = @_; # PublicInbox::Git, $sha1hex
-        my $buf = cat_file($self, $oid) or return;
-        utf8::decode($$buf);
-        ($$buf =~ /\r?\n\r?\n([^\r\n]+)\r?\n?/)[0]
-}
-
 sub extract_cmt_time {
         my ($bref, undef, undef, undef, $modified) = @_;