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)
Fri, Dec 20, 8:59 AM
Unknown Object (File)
Thu, Dec 19, 5:56 PM
Unknown Object (File)
Tue, Dec 17, 1:39 PM
Unknown Object (File)
Sat, Dec 14, 2:48 PM
Unknown Object (File)
Wed, Dec 11, 7:57 AM
Unknown Object (File)
Mon, Dec 9, 4:50 PM
Unknown Object (File)
Mon, Dec 9, 1:05 PM
Unknown Object (File)
Wed, Dec 4, 12:50 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.