Skip to content

Commit 891f37f

Browse files
committed
compatibilite with git v1 - change git diff filter
1 parent 3c9a1e8 commit 891f37f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PhpcsDiff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ protected function getChangedFiles()
229229
{
230230
// Get a list of changed files (not including deleted files)
231231
$output = shell_exec(
232-
'git diff ' . $this->baseBranch . ' ' . $this->currentBranch . ' --name-only --diff-filter=d'
232+
'git diff ' . $this->baseBranch . ' ' . $this->currentBranch . ' --name-only --diff-filter=ACM'
233233
);
234234

235235
// Convert files into an array

0 commit comments

Comments
 (0)