1
0
Fork 0

Remove VCS info from the root dir only, fixes #1229

pull/1231/head
Jordi Boggiano 2012-10-18 09:36:22 +02:00
parent e79e7dcd8d
commit 8949d43dca
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ EOT
)
) {
$finder = new Finder();
$finder->directories()->in(getcwd())->ignoreVCS(false)->ignoreDotFiles(false);
$finder->depth(1)->directories()->in(getcwd())->ignoreVCS(false)->ignoreDotFiles(false);
foreach (array('.svn', '_svn', 'CVS', '_darcs', '.arch-params', '.monotone', '.bzr', '.git', '.hg') as $vcsName) {
$finder->name($vcsName);
}