]> Sergey Matveev's repositories - public-inbox.git/commit
lei_saved_search: canonicalized relative save paths
authorEric Wong <e@80x24.org>
Wed, 11 Aug 2021 11:26:17 +0000 (11:26 +0000)
committerEric Wong <e@80x24.org>
Wed, 11 Aug 2021 21:50:08 +0000 (21:50 +0000)
commitd15e80db44399867d8ca53528e38f70f54562b88
tree40e1f4d12f3ca6a88b9e149ad4f85c6e9884ee8a
parent4c6f9a39621fdae852e0655b7db3d61f03c716c5
lei_saved_search: canonicalized relative save paths

Storing relative paths with '..' in them can be expensive to
resolve when running 'lei up', so prefer storing canonicalized
absolute paths.  We only do this for paths with '..' in them,
though, since this can lose symlink info.
lib/PublicInbox/LeiSavedSearch.pm
t/lei-q-save.t