From: Wayne Davison Date: Wed, 30 Jul 2003 06:12:33 +0000 (+0000) Subject: Changed the "**" description to reflect its no-longer-buggy behavior. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/8a7846f97ebab2b91a6d3dd176695ad7f9d14486?ds=sidebyside Changed the "**" description to reflect its no-longer-buggy behavior. --- diff --git a/rsync.yo b/rsync.yo index 9b74edb7..e38d9447 100644 --- a/rsync.yo +++ b/rsync.yo @@ -916,15 +916,15 @@ itemize( *?[ then expression matching is applied using the shell filename matching rules. Otherwise a simple string match is used. - it() if the pattern includes a double asterisk "**" then all wildcards in - the pattern will match slashes, otherwise they will stop at slashes. + it() the double asterisk pattern "**" will match slashes while a + single asterisk pattern "*" will stop at slashes. 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. + actually be any portion of a path below the starting directory. it() if the pattern starts with "+ " (a plus followed by a space) then it is always considered an include pattern, even if specified as