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
F18088899: D17122.id41185.diff
Wed, Aug 6, 9:59 AM
F18083283: D17122.id.diff
Tue, Aug 5, 9:32 AM
F18080523: D17122.diff
Mon, Aug 4, 9:55 PM
F17943953: D17122.id41185.diff
Thu, Jul 31, 9:08 AM
F17943952: D17122.id41179.diff
Thu, Jul 31, 9:08 AM
F17943659: D17122.id.diff
Thu, Jul 31, 8:36 AM
F17868505: D17122.diff
Mon, Jul 28, 7:52 AM
F17833474: D17122.diff
Sat, Jul 26, 1:36 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
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.