about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-02-04 04:44:24 +0000
committerEric Wong <e@yhbt.net>2020-02-04 21:39:55 +0000
commitfea03df0e2e95ad3ac44ac46d9c31da97fa2fde9 (patch)
treec0566eb5719253cac943314ba8d9e6abf289a061
parent6d4fced4acc79d745fcfae972d23c3e0849d277f (diff)
downloadpublic-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.pm2
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;