diff --git a/src/VersionControlSystem/GitRepository.php b/src/VersionControlSystem/GitRepository.php index 151f4870..968aeac1 100644 --- a/src/VersionControlSystem/GitRepository.php +++ b/src/VersionControlSystem/GitRepository.php @@ -38,7 +38,7 @@ public function getHeadHashCommit(): string public function getDiff(string $originalBranch, string $currentBranch): string { $gitDiffOutput = $this->execute( - ['diff', $originalBranch . '..' . $currentBranch], + ['diff', $originalBranch . '..' . $currentBranch, '--ignore-blank-lines'], ); return implode(PHP_EOL, $gitDiffOutput);