Attempt to fix arcanist diff

This commit is contained in:
2017-03-14 15:31:10 +01:00
parent c7764ed1d0
commit 3442097b31

View File

@@ -127,7 +127,7 @@ final class DifferentialGetCommitMessageConduitAPIMethod
array("\r\n", "\r"),
array("\n", "\n"),
$value);
if ($key === 'differential:summary') {
if ($field_key === 'differential:summary') {
$commit_message[] = "{$value}";
} else if (strpos($value, "\n") !== false || substr($value, 0, 2) === ' ') {
$commit_message[] = "{$label}:\n{$value}";