Skip to content

Commit

Permalink
[BUGFIX] More Git fixes...
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaskienast committed Jul 11, 2023
1 parent a22c7c4 commit d261222
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Service/LocalCoreGitService.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,7 @@ public function commitPatchAsUser(
$repository->run('pull', ['--rebase']);
$repository->run('apply', ['--directory', $repository->getWorkingDir(), '--unsafe-paths', $patchFile->file]);
$repository->run('add', ['.']);
$repository->run('commit', [
'author' => '"' . $userData->user . '<' . $userData->email . '>"',
'm' => $commitMessage->message,
'verbose' => true,
]);
$repository->run('commit', ['--author', $userData->user . '<' . $userData->email . '>', '-m', $commitMessage->message, '--verbose']);
}

/**
Expand Down

0 comments on commit d261222

Please sign in to comment.