]> Sergey Matveev's repositories - public-inbox.git/commit
extsearchidx: deduplicate alternates based on st_dev + st_ino
authorEric Wong <e@80x24.org>
Mon, 23 Nov 2020 23:32:29 +0000 (23:32 +0000)
committerEric Wong <e@80x24.org>
Tue, 24 Nov 2020 16:16:26 +0000 (16:16 +0000)
commit95cb3e48fc5c4e847cdc111c2c8c9f0b70bdea56
tree1e478ff3e78e602736dfcd95b58ef62b0d85907b
parent46cbc5a7a4ba917bd7154be3b6e6898420ff85d3
extsearchidx: deduplicate alternates based on st_dev + st_ino

This allows us to filter out duplicate alternates entries in case
there's symlinks or bind mounts in play, as I (and perhaps some
other users) tend to use symlinks and/or bind mounts heavily.
lib/PublicInbox/ExtSearchIdx.pm