Mention that a pattern with "**" is matched against the entire path, even
authorWayne Davison <wayned@samba.org>
Thu, 1 May 2003 19:33:57 +0000 (19:33 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 1 May 2003 19:33:57 +0000 (19:33 +0000)
if the pattern doesn't contain a slash.

rsync.yo

index e278b7a..f65e53c 100644 (file)
--- a/rsync.yo
+++ b/rsync.yo
@@ -913,11 +913,11 @@ itemize(
   it() if the pattern includes a double asterisk "**" then all wildcards in
   the pattern will match slashes, otherwise they will stop at slashes.
 
   it() if the pattern includes a double asterisk "**" then all wildcards in
   the pattern will match slashes, otherwise they will stop at slashes.
 
-  it() if the pattern contains a / (not counting a trailing /) then it
-  is matched against the full filename, including any leading
-  directory. If the pattern doesn't contain a / then it is matched
-  only against the final component of the filename.  Again, remember
-  that the algorithm is applied recursively so "full filename" can 
+  it() if the pattern contains a / (not counting a trailing /) or a "**"
+  then it is matched against the full filename, including any leading
+  directory. If the pattern doesn't contain a / or a "**", then it is
+  matched only against the final component of the filename.  Again,
+  remember that the algorithm is applied recursively so "full filename" can
   actually be any portion of a path.
 
   it() if the pattern starts with "+ " (a plus followed by a space)
   actually be any portion of a path.
 
   it() if the pattern starts with "+ " (a plus followed by a space)