diff options
author | Eric Wong <e@80x24.org> | 2023-11-28 14:56:16 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-11-29 02:13:18 +0000 |
commit | f1e472e1851b708750c7ac0927792fb38e22b8e9 (patch) | |
tree | 6339ffb6ddf6a598695f274f55a2876c103a7ef7 /lib/PublicInbox | |
parent | 15b21f26851863e55b1ed4edb5482f373ae0d05f (diff) | |
download | public-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.pm | 1 |
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; |