Mercurial > hg > mercurial-source
changeset 33578: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 | ff02bb5979c1 d3ab31bf9c0e |
files | mercurial/help/patterns.txt |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/help/patterns.txt +++ b/mercurial/help/patterns.txt @@ -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