Document the impact of the slashdot hack to pattern matching

... or rather that the slashdot hack doesn't impact pattern matching at all. Add a note to `borg help patterns`.
This commit is contained in:
Daniel Rudolf 2026-05-15 14:47:44 +02:00
parent 789c5060d6
commit ae1440ed7e
No known key found for this signature in database
GPG key ID: A061F02CD8DE4538

View file

@ -2445,6 +2445,10 @@ class Archiver:
- When you back up relative paths like ``../../src``, the archived paths
start with ``src``.
- When using the slashdot hack, patterns match against the unstripped path,
i.e., when you back up ``/this/gets/stripped/./this/gets/archived``,
patterns must match ``this/gets/stripped/this/gets/archived``.
A directory exclusion pattern can end either with or without a slash ('/').
If it ends with a slash, such as `some/path/`, the directory will be
included but not its content. If it does not end with a slash, such as