Skip to content

Commit

Permalink
Merge pull request #454 from cweagans/451-verbose-output
Browse files Browse the repository at this point in the history
Run all patchers in verbose mode
  • Loading branch information
cweagans committed Feb 8, 2023
2 parents 2ed32a4 + d97516b commit cd06d60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Patcher/BsdPatchPatcher.php
Expand Up @@ -15,7 +15,7 @@ public function apply(Patch $patch, string $path): bool
// TODO: Dry run first?
return $this->executeCommand(
'%s -p%s --posix --batch -d %s -i %s',
'%s -p%s --verbose --posix --batch -d %s -i %s',
$this->patchTool(),
$patch->depth,
$path,
Expand Down
2 changes: 1 addition & 1 deletion src/Patcher/GitPatcher.php
Expand Up @@ -39,7 +39,7 @@ public function apply(Patch $patch, string $path): bool

// Otherwise, we can try to apply the patch.
return $this->executeCommand(
'%s -C %s apply -p%s %s',
'%s -C %s apply -p%s --verbose %s',
$this->patchTool(),
$path,
$patch->depth,
Expand Down
2 changes: 1 addition & 1 deletion src/Patcher/GnuPatchPatcher.php
Expand Up @@ -14,7 +14,7 @@ public function apply(Patch $patch, string $path): bool
// TODO: Dry run first?
return $this->executeCommand(
'%s -p%s --no-backup-if-mismatch -d %s -i %s',
'%s -p%s --no-backup-if-mismatch --verbose -d %s -i %s',
$this->patchTool(),
$patch->depth,
$path,
Expand Down

0 comments on commit cd06d60

Please sign in to comment.