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, Jan 2, 11:43 PM
Unknown Object (File)
Wed, Dec 25, 5:48 PM
Unknown Object (File)
Wed, Dec 25, 2:56 AM
Unknown Object (File)
Tue, Dec 24, 3:56 AM
Unknown Object (File)
Sun, Dec 22, 8:19 AM
Unknown Object (File)
Sun, Dec 22, 2:10 AM
Unknown Object (File)
Fri, Dec 20, 8:59 AM
Unknown Object (File)
Thu, Dec 19, 5:56 PM
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
Branch
parse2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 15067
Build 19773: Run Core Tests
Build 19772: arc lint + arc unit

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.