mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-23 22:10:54 +01:00
Fix commit message format returned by getCommitMessage
Git commit messages must have 2 newlines between the subject and body If used to rewrite a commit message then the commit message will be incorrectly reformatted.
This commit is contained in:
parent
bc96d6036e
commit
4038e7be0a
1 changed files with 1 additions and 1 deletions
|
@ -753,7 +753,7 @@ final class ArcanistGitAPI extends ArcanistRepositoryAPI {
|
|||
public function getCommitMessage($commit) {
|
||||
list($message) = $this->execxLocal(
|
||||
'log -n1 --format=%C %s --',
|
||||
'%s%n%b',
|
||||
'%s%n%n%b',
|
||||
$commit);
|
||||
return $message;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue