Page MenuHomePhabricator

Support `git-format-patch` format in diff parser
ClosedPublic

Authored by epriestley on Mar 15 2014, 4:27 PM.
Tags
None
Referenced Files
F15589625: D8547.id20278.diff
Fri, May 9, 2:11 PM
F15576674: D8547.id.diff
Tue, May 6, 10:06 AM
F15576668: D8547.diff
Tue, May 6, 10:05 AM
F15573510: D8547.id20278.diff
Mon, May 5, 9:10 PM
F15573408: D8547.diff
Mon, May 5, 8:49 PM
F15555927: D8547.id20278.diff
Mon, Apr 28, 1:48 PM
F15545728: D8547.id20277.diff
Sat, Apr 26, 12:20 PM
F15534069: D8547.id20278.diff
Wed, Apr 23, 11:07 PM
Subscribers

Details

Summary

Fixes T4063. The git format-patch command produces a special header
and footer which we need to detect, strip, and parse.

Test Plan
  • Added and ran unit tests.
  • Submitted a diff with git format-patch HEAD^ --stdout | arc diff --raw.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Support `git-format-patch` format in diff parser.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Mar 15 2014, 5:08 PM
epriestley updated this revision to Diff 20278.

Closed by commit rARC46fe94db9f8c (authored by @epriestley).