filtering docs: clarify / referencing root of remote in filters, not root of local drive

This commit is contained in:
0xJAKE 2016-11-27 12:20:45 -06:00 committed by Nick Craig-Wood
parent 36d411c25d
commit 6580d9478e

View file

@ -29,9 +29,10 @@ The patterns used to match files for inclusion or exclusion are based
on "file globs" as used by the unix shell. on "file globs" as used by the unix shell.
If the pattern starts with a `/` then it only matches at the top level If the pattern starts with a `/` then it only matches at the top level
of the directory tree, relative to the root of the remote. of the directory tree, **relative to the root of the remote** (not
If it doesn't start with `/` then it is matched starting at the necessarily the root of the local drive). If it doesn't start with `/`
**end of the path**, but it will only match a complete path element: then it is matched starting at the **end of the path**, but it will
only match a complete path element:
file.jpg - matches "file.jpg" file.jpg - matches "file.jpg"
- matches "directory/file.jpg" - matches "directory/file.jpg"