diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-11-04 07:48:10 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-04 07:48:10 -0800 |
| commit | 5931b6b2fbfaeceb911296e5f45df95a8c33bdb6 (patch) | |
| tree | 275c9f21bd0a72658e893d4429c4c28bfbd45323 /t | |
| parent | Merge branch 'jk/test-delete-gpgsig-leakfix' (diff) | |
| parent | doc: document backslash in gitignore patterns (diff) | |
| download | git-5931b6b2fbfaeceb911296e5f45df95a8c33bdb6.tar.gz git-5931b6b2fbfaeceb911296e5f45df95a8c33bdb6.zip | |
Merge branch 'jk/doc-backslash-in-exclude'
The patterns used in the .gitignore files use backslash in the way
documented for fnmatch(3); document as such to reduce confusion.
* jk/doc-backslash-in-exclude:
doc: document backslash in gitignore patterns
Diffstat (limited to 't')
| -rwxr-xr-x | t/t3070-wildmatch.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t3070-wildmatch.sh b/t/t3070-wildmatch.sh index 3da824117c..655bb1a0f2 100755 --- a/t/t3070-wildmatch.sh +++ b/t/t3070-wildmatch.sh @@ -235,6 +235,8 @@ match 1 1 1 1 aaaaaaabababab '*ab' match 1 1 1 1 'foo*' 'foo\*' match 0 0 0 0 foobar 'foo\*bar' match 1 1 1 1 'f\oo' 'f\\oo' +match 0 0 0 0 \ + 1 1 1 1 'foo\' 'foo\' match 1 1 1 1 ball '*[al]?' match 0 0 0 0 ten '[ten]' match 1 1 1 1 ten '**[!te]' |
