From 54d0e2201ebed887efaa8846cce08af9535cbd04 Mon Sep 17 00:00:00 2001 From: simplypeachy Date: Wed, 2 Sep 2015 20:59:51 +0100 Subject: [PATCH] Update ignoring.rst Explicitly specify that #include'd files must be within the repo. Note about Mac/Windows always being case-insensitive. --- users/ignoring.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users/ignoring.rst b/users/ignoring.rst index 46e28dc84..19e916fc7 100644 --- a/users/ignoring.rst +++ b/users/ignoring.rst @@ -44,7 +44,7 @@ The ``.stignore`` file contains a list of file or path patterns. The ``/foo`` matches ``foo`` but not ``subdir/foo``. - A pattern beginning with ``#include`` results in loading patterns - from the named file. It is an error for a file to not exist or be + from the named file which must reside in the repository. It is an error for a file to not exist or be included more than once. Note that while this can be used to include patterns from a file in a subdirectory, the patterns themselves are still relative to the repository *root*. Example: @@ -62,7 +62,7 @@ The ``.stignore`` file contains a list of file or path patterns. The ``(?i)`` prefix can be combined with other patterns, for example the pattern ``(?i)!picture*.png`` indicates that ``Picture1.PNG`` should be synchronized. Note that case-insensitive patterns must start with - ``(?i)`` when combined with other flags. + ``(?i)`` when combined with other flags. On Mac OS and Windows, patterns are always case-insensitive. - A line beginning with ``//`` is a comment and has no effect.