help: correct description of "glob:foo/*" matching stable
authorMartin von Zweigbergk <martinvonz@google.com>
Mon, 12 Jun 2017 11:24:21 -0700
branchstable
changeset 32795 efebc9f52ecb
parent 32654 2ab1aea34c42
child 32811 ff02bb5979c1
child 32827 d3ab31bf9c0e
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).
mercurial/help/patterns.txt
--- 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