diff options
author | Eric Wong <e@yhbt.net> | 2020-02-04 04:44:24 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-02-04 21:39:55 +0000 |
commit | fea03df0e2e95ad3ac44ac46d9c31da97fa2fde9 (patch) | |
tree | c0566eb5719253cac943314ba8d9e6abf289a061 | |
parent | 6d4fced4acc79d745fcfae972d23c3e0849d277f (diff) | |
download | public-inbox-fea03df0e2e95ad3ac44ac46d9c31da97fa2fde9.tar.gz |
It's an old function which only gets called by inboxes w/o SQLite indices.
-rw-r--r-- | lib/PublicInbox/Inbox.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Inbox.pm b/lib/PublicInbox/Inbox.pm index accfd974..a5849a61 100644 --- a/lib/PublicInbox/Inbox.pm +++ b/lib/PublicInbox/Inbox.pm @@ -305,9 +305,9 @@ sub nntp_usable { $ret; } +# for v1 users w/o SQLite only sub msg_by_path ($$;$) { my ($self, $path, $ref) = @_; - # TODO: allow other refs: my $str = git($self)->cat_file('HEAD:'.$path, $ref); $$str =~ s/\A[\r\n]*From [^\r\n]*\r?\n//s if $str; $str; |