diff options
Diffstat (limited to 'man5/gitignore.5')
-rw-r--r-- | man5/gitignore.5 | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/man5/gitignore.5 b/man5/gitignore.5 index 8fb918944..ece7c5349 100644 --- a/man5/gitignore.5 +++ b/man5/gitignore.5 @@ -2,12 +2,12 @@ .\" Title: gitignore .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2023-07-25 +.\" Date: 2023-07-26 .\" Manual: Git Manual -.\" Source: Git 2.41.0.450.ga80be15292 +.\" Source: Git 2.41.0.459.gb4fce4b6e4 .\" Language: English .\" -.TH "GITIGNORE" "5" "2023\-07\-25" "Git 2\&.41\&.0\&.450\&.ga80be1" "Git Manual" +.TH "GITIGNORE" "5" "2023\-07\-26" "Git 2\&.41\&.0\&.459\&.gb4fce4" "Git Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -377,7 +377,16 @@ file\&. In other words, a leading slash is not relevant if there is already a mi .sp -1 .IP \(bu 2.3 .\} -The pattern "foo/*", matches "foo/test\&.json" (a regular file), "foo/bar" (a directory), but it does not match "foo/bar/hello\&.c" (a regular file), as the asterisk in the pattern does not match "bar/hello\&.c" which has a slash in it\&. +The pattern +\fBfoo/*\fR, matches +\fBfoo/test\&.json\fR +(a regular file), +\fBfoo/bar\fR +(a directory), but it does not match +\fBfoo/bar/hello\&.c\fR +(a regular file), as the asterisk in the pattern does not match +\fBbar/hello\&.c\fR +which has a slash in it\&. .RE .sp .if n \{\ |