]> khamidou — GitHub mirrors - arcanist.git/commit
Remove only trailing "#" and empty lines as comments from CLI editors
authorepriestley <git@epriestley.com>
Wed, 18 Apr 2012 13:08:41 +0000 (06:08 -0700)
committerepriestley <git@epriestley.com>
Wed, 18 Apr 2012 13:08:41 +0000 (06:08 -0700)
commit2831d075c0c8b4d942c6dccabe682198552c9b74
treea3fc1c5138b53b337addf4b4ed7929e2ecda2e22
parentda4b6b5799f01e9a61564f8013c2d04bf37ec03b
Remove only trailing "#" and empty lines as comments from CLI editors

Summary: Don't strip numbered lists in comment bodies, etc.

Test Plan: Unit tests, meta-testing this diff.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran
Maniphest Tasks: T1124

Differential Revision: https://secure.phabricator.com/D2262
src/__phutil_library_map__.php
src/parser/commentremover/ArcanistCommentRemover.php [new file with mode: 0644]
src/parser/commentremover/__init__.php [new file with mode: 0644]
src/parser/commentremover/__tests__/ArcanistCommentRemoverTestCase.php [new file with mode: 0644]
src/parser/commentremover/__tests__/__init__.php [new file with mode: 0644]
src/workflow/diff/ArcanistDiffWorkflow.php
src/workflow/diff/__init__.php
src/workflow/patch/ArcanistPatchWorkflow.php
src/workflow/patch/__init__.php