Skip to content

Commit 3f8d2fd

Browse files
committed
Excludes files for src option
1 parent 5d6189b commit 3f8d2fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tree.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct(Archive $archive)
3030
public function getTreeForSrc(string $directory): string
3131
{
3232
\exec(
33-
'tree -aL 1 --dirsfirst ' . \escapeshellarg($directory) . ' 2>&1',
33+
'tree -aL 1 --dirsfirst ' . \escapeshellarg($directory) . ' --gitignore -I .git 2>&1',
3434
$output
3535
);
3636

0 commit comments

Comments
 (0)