We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d6189b commit 5e073c6Copy full SHA for 5e073c6
CHANGELOG.md
@@ -7,6 +7,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
7
8
## [Unreleased]
9
10
+## [v4.3.2] - 2025-02-10
11
+
12
+### Added
13
+- The tree command with the `--src` option now exludes files from `.gitignore` and the `.git` directory.
14
15
## [v4.3.1] - 2025-02-07
16
17
### Added
src/Tree.php
@@ -30,7 +30,7 @@ public function __construct(Archive $archive)
30
public function getTreeForSrc(string $directory): string
31
{
32
\exec(
33
- 'tree -aL 1 --dirsfirst ' . \escapeshellarg($directory) . ' 2>&1',
+ 'tree -aL 1 --dirsfirst ' . \escapeshellarg($directory) . ' --gitignore -I .git 2>&1',
34
$output
35
);
36
0 commit comments