Merge pull request #9647 from PhrozenByte/docs-slashdot-and-pattern

Document the impact of the slashdot hack to pattern matching
This commit is contained in:
TW 2026-05-15 20:46:51 +02:00 committed by GitHub
commit ec366d5b5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2471,6 +2471,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