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
F14056934: D17122.id41185.diff
Sat, Nov 16, 11:24 PM
F14019821: D17122.id41185.diff
Tue, Nov 5, 11:41 PM
F14019820: D17122.id41179.diff
Tue, Nov 5, 11:41 PM
F14019819: D17122.id.diff
Tue, Nov 5, 11:41 PM
F14016622: D17122.diff
Mon, Nov 4, 10:18 AM
F14000288: D17122.id41179.diff
Thu, Oct 24, 8:47 PM
F13998102: D17122.diff
Thu, Oct 24, 7:35 AM
F13994049: D17122.diff
Wed, Oct 23, 3:23 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.