Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite1576b6

Browse files
committed
minor#15866 [Finder] Document recursive .gitignore files support (julienfalque)
This PR was merged into the 5.4 branch.Discussion----------[Finder] Document recursive .gitignore files supportCloses#15864.Commits-------412fac9 [Finder] Document recursive .gitignore files support
2 parents0c5c684 +412fac9 commite1576b6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎components/finder.rst‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,17 @@ default when looking for files and directories, but you can change this with the
141141

142142
$finder->ignoreVCS(false);
143143

144-
If the search directorycontains a``.gitignore``file, you can reuse those
145-
rules to exclude files and directories from the results with the
144+
If the search directoryand its subdirectories contain``.gitignore``files, you
145+
can reuse thoserules to exclude files and directories from the results with the
146146
:method:`Symfony\\Component\\Finder\\Finder::ignoreVCSIgnored` method::
147147

148148
// excludes files/directories matching the .gitignore patterns
149149
$finder->ignoreVCSIgnored(true);
150150

151+
..versionadded::5.4
152+
153+
``.gitignore`` files recursive support was introduced in Symfony 5.4.
154+
151155
File Name
152156
~~~~~~~~~
153157

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp