1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 06:42:41 +01:00

Merge pull request #51 from bpedman/master

Fix getCommitMessage to properly separate subject and body with 2 newlines
This commit is contained in:
Evan Priestley 2012-09-06 09:40:22 -07:00
commit 842ca57b4a

View file

@ -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;
}