diff --git a/src/applications/differential/field/specification/DifferentialRevisionIDFieldSpecification.php b/src/applications/differential/field/specification/DifferentialRevisionIDFieldSpecification.php index 0684a0fe39..3e341c25e9 100644 --- a/src/applications/differential/field/specification/DifferentialRevisionIDFieldSpecification.php +++ b/src/applications/differential/field/specification/DifferentialRevisionIDFieldSpecification.php @@ -38,7 +38,7 @@ final class DifferentialRevisionIDFieldSpecification } public function parseValueFromCommitMessage($value) { - $rev = trim($value); + $rev = trim(head(explode("\n", $value))); if (!strlen($rev)) { return null;