about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-11-28 14:56:16 +0000
committerEric Wong <e@80x24.org>2023-11-29 02:13:18 +0000
commitf1e472e1851b708750c7ac0927792fb38e22b8e9 (patch)
tree6339ffb6ddf6a598695f274f55a2876c103a7ef7 /lib/PublicInbox
parent15b21f26851863e55b1ed4edb5482f373ae0d05f (diff)
downloadpublic-inbox-f1e472e1851b708750c7ac0927792fb38e22b8e9.tar.gz
We store the full path name and xap_terms already removes
the `P' character, so the loop and substr calls are a
no-op replacing `/' with `/'.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r--lib/PublicInbox/CodeSearch.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/PublicInbox/CodeSearch.pm b/lib/PublicInbox/CodeSearch.pm
index 9051d85f..eb057525 100644
--- a/lib/PublicInbox/CodeSearch.pm
+++ b/lib/PublicInbox/CodeSearch.pm
@@ -191,7 +191,6 @@ sub roots2paths { # for diagnostics
                         }
                         $size = $mset->size;
                 } while ($size);
-                substr($_, 0, 1, '/') for @$dirs; # s!^P!/!
                 @$dirs = sort @$dirs;
         }
         \%ret;