Skip to content

Commit

Permalink
fix: --dirty detection of subfolders on Ubuntu (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro authored Apr 3, 2023
1 parent 0c29523 commit 4d7b77d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Repositories/GitPathsRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function __construct($path)
*/
public function dirty()
{
$process = tap(new Process(['git', 'status', '--short', '--', '*.php']))->run();
$process = tap(new Process(['git', 'status', '--short', '--', '**.php']))->run();

if (! $process->isSuccessful()) {
abort(1, 'The [--dirty] option is only available when using Git.');
Expand Down

0 comments on commit 4d7b77d

Please sign in to comment.