diff options
author | Florian Pritz <bluewind@xinu.at> | 2020-09-27 14:24:44 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2020-09-27 14:52:23 +0200 |
commit | 62f5bc3ce90fedb396d103caae68dc2f211f1b16 (patch) | |
tree | db81e08790295762ebfcf7559fa5b3e839ab30d7 /lib/App/BorgRestore/PathTimeTable/Memory.pm | |
parent | f842d625980ca3a946c17c4b3c2846186496c1d2 (diff) | |
download | App-BorgRestore-62f5bc3ce90fedb396d103caae68dc2f211f1b16.tar.gz App-BorgRestore-62f5bc3ce90fedb396d103caae68dc2f211f1b16.tar.xz |
DB: Fix incorrect subpath handling for path that is a superstring of the
previous path
Files that share a common substring (e.g. `/home/foo/.ssh/id_rsa` and
`/home/foo/.ssh/id_rsa.pub`) could incorrectly trigger an optimization
that was only supposed to be triggered if the first path is a directory.
The first path would then not be added to the database cache even though
it should have been.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'lib/App/BorgRestore/PathTimeTable/Memory.pm')
0 files changed, 0 insertions, 0 deletions