diff options
author | Eric Wong <e@80x24.org> | 2019-10-21 11:22:27 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-10-22 06:49:54 +0000 |
commit | 720885ccd944444eb6410ad90117fc1dc7b2a1e1 (patch) | |
tree | a541fbc6580551f876c3c83bec17825d988dbe47 /lib/PublicInbox/Git.pm | |
parent | 4f3ba0c11302d69327ff37cd28525f309c128f92 (diff) | |
download | public-inbox-720885ccd944444eb6410ad90117fc1dc7b2a1e1.tar.gz |
This was intended for solver, but it's unused since commit 915cd090798069a4 ("solver: switch patch application to use a callback")
Diffstat (limited to 'lib/PublicInbox/Git.pm')
-rw-r--r-- | lib/PublicInbox/Git.pm | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/PublicInbox/Git.pm b/lib/PublicInbox/Git.pm index ff3838b3..218846f3 100644 --- a/lib/PublicInbox/Git.pm +++ b/lib/PublicInbox/Git.pm @@ -261,17 +261,6 @@ sub local_nick ($) { wantarray ? ($ret) : $ret; } -# show the blob URL for cgit/gitweb/whatever -sub src_blob_url { - my ($self, $oid) = @_; - # blob_url_format = "https://example.com/foo.git/blob/%s" - if (my $bfu = $self->{blob_url_format}) { - return map { sprintf($_, $oid) } @$bfu if wantarray; - return sprintf($bfu->[0], $oid); - } - local_nick($self); -} - sub host_prefix_url ($$) { my ($env, $url) = @_; return $url if index($url, '//') >= 0; |