Skip to content

Commit 8b9130e

Browse files
authored
Merge pull request #5 from zen1t/master
Compatibilite with git v1 - change git diff filter
2 parents 3c9a1e8 + 891f37f commit 8b9130e

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)