From 6580d9478eb16697374ab87bea13026ff7150a42 Mon Sep 17 00:00:00 2001 From: 0xJAKE <0xJAKE@users.noreply.github.com> Date: Sun, 27 Nov 2016 12:20:45 -0600 Subject: [PATCH] filtering docs: clarify `/` referencing root of remote in filters, not root of local drive --- docs/content/filtering.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/content/filtering.md b/docs/content/filtering.md index 960b603d0..ebb292253 100644 --- a/docs/content/filtering.md +++ b/docs/content/filtering.md @@ -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. 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. -If it doesn't start with `/` then it is matched starting at the -**end of the path**, but it will only match a complete path element: +of the directory tree, **relative to the root of the remote** (not +necessarily the root of the local drive). If it doesn't start with `/` +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" - matches "directory/file.jpg"