changeset 32144:efebc9f52ecb stable

help: correct description of "glob:foo/*" matching Unlike what the description says, it does not match recursively. Also add an example of "glob:foo/**" (which does match recursively).
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 12 Jun 2017 11:24:21 -0700
parents 2ab1aea34c42
children d3ab31bf9c0e ff02bb5979c1
files mercurial/help/patterns.txt
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/help/patterns.txt	Sun Jun 04 08:16:37 2017 -0500
+++ b/mercurial/help/patterns.txt	Mon Jun 12 11:24:21 2017 -0700
@@ -58,7 +58,8 @@
   *.c            any name ending in ".c" in the current directory
   **.c           any name ending in ".c" in any subdirectory of the
                  current directory including itself.
-  foo/*          any file in directory foo plus all its subdirectories,
+  foo/*          any file in directory foo
+  foo/**         any file in directory foo plus all its subdirectories,
                  recursively
   foo/*.c        any name ending in ".c" in the directory foo
   foo/**.c       any name ending in ".c" in any subdirectory of foo