diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-11-13 14:37:19 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-13 14:37:19 +0100 |
commit | 25e4da89edc5339019f0d7c29a21ef4e08cccf24 (patch) | |
tree | 9e1782553ba16f42b8f08c79582f9639a8cab6f6 /Documentation/gitignore.txt | |
parent | Merge branch 'nd/per-worktree-config' (diff) | |
parent | wildmatch: change behavior of "foo**bar" in WM_PATHNAME mode (diff) | |
download | git-25e4da89edc5339019f0d7c29a21ef4e08cccf24.tar.xz git-25e4da89edc5339019f0d7c29a21ef4e08cccf24.zip |
Merge branch 'nd/wildmatch-double-asterisk'
A pattern with '**' that does not have a slash on either side used
to be an invalid one, but the code now treats such double-asterisks
the same way as two normal asterisks that happen to be adjacent to
each other.
* nd/wildmatch-double-asterisk:
wildmatch: change behavior of "foo**bar" in WM_PATHNAME mode
Diffstat (limited to 'Documentation/gitignore.txt')
-rw-r--r-- | Documentation/gitignore.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/gitignore.txt b/Documentation/gitignore.txt index d107daaffd..1c94f08ff4 100644 --- a/Documentation/gitignore.txt +++ b/Documentation/gitignore.txt @@ -129,7 +129,8 @@ full pathname may have special meaning: matches zero or more directories. For example, "`a/**/b`" matches "`a/b`", "`a/x/b`", "`a/x/y/b`" and so on. - - Other consecutive asterisks are considered invalid. + - Other consecutive asterisks are considered regular asterisks and + will match according to the previous rules. NOTES ----- |