Attempt to fix arcanist diff
This commit is contained in:
@@ -127,7 +127,7 @@ final class DifferentialGetCommitMessageConduitAPIMethod
|
|||||||
array("\r\n", "\r"),
|
array("\r\n", "\r"),
|
||||||
array("\n", "\n"),
|
array("\n", "\n"),
|
||||||
$value);
|
$value);
|
||||||
if ($key === 'differential:summary') {
|
if ($field_key === 'differential:summary') {
|
||||||
$commit_message[] = "{$value}";
|
$commit_message[] = "{$value}";
|
||||||
} else if (strpos($value, "\n") !== false || substr($value, 0, 2) === ' ') {
|
} else if (strpos($value, "\n") !== false || substr($value, 0, 2) === ' ') {
|
||||||
$commit_message[] = "{$label}:\n{$value}";
|
$commit_message[] = "{$label}:\n{$value}";
|
||||||
|
|||||||
Reference in New Issue
Block a user