]> khamidou — GitHub mirrors - arcanist.git/commit
Strip comments during `arc diff --verbatim` workflow before submitting to Phabricator
authorepriestley <git@epriestley.com>
Tue, 1 Apr 2014 15:21:05 +0000 (08:21 -0700)
committerepriestley <git@epriestley.com>
Tue, 1 Apr 2014 15:21:05 +0000 (08:21 -0700)
commit5280f3708ef7d291b5746459bc033409d7a8740c
tree2a4512688cff12094a66022e2aeb187a6709f234
parenta36969e58bb4d87e8f922a1985a450573786fe48
Strip comments during `arc diff --verbatim` workflow before submitting to Phabricator

Summary: Fixes T4649. The issue in that task is caused because we're submitting a block of text including comments. We've probably been doing this for a long time, but maybe were more liberal in parsing before. Instead, strip them.

Test Plan: Ran `arc diff --verbatim` and got "Dxxx" prefilled correctly.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T4649

Differential Revision: https://secure.phabricator.com/D8658
src/workflow/ArcanistDiffWorkflow.php