Page MenuHomePhabricator

Always parse the first line of a commit message as a title
ClosedPublic

Authored by epriestley on Jan 1 2017, 4:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 10:21 AM
Unknown Object (File)
Thu, Apr 4, 4:29 AM
Unknown Object (File)
Wed, Apr 3, 8:43 PM
Unknown Object (File)
Wed, Apr 3, 7:57 PM
Unknown Object (File)
Wed, Apr 3, 6:25 PM
Unknown Object (File)
Wed, Apr 3, 6:22 PM
Unknown Object (File)
Wed, Apr 3, 5:57 PM
Unknown Object (File)
Wed, Apr 3, 7:11 AM
Subscribers
None

Details

Summary

Fixes T10312. If your first line is "Reviewers: xyz", it's a title, not a "Reviewers" field.

Test Plan

Added unit test.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

src/applications/differential/parser/DifferentialCommitMessageParser.php
179

This is for T6050, I'll provide some context there.

This revision is now accepted and ready to land.Jan 1 2017, 5:31 PM
This revision was automatically updated to reflect the committed changes.