]> khamidou — GitHub mirrors - arcanist.git/commit
Simplify diff excuses
authorvrana <jakubv@fb.com>
Fri, 1 Jun 2012 05:57:29 +0000 (22:57 -0700)
committervrana <jakubv@fb.com>
Fri, 1 Jun 2012 16:07:38 +0000 (09:07 -0700)
commit2ba9f34f5c6aa903cba6de2a1ee513888a4f49c3
tree3f3f79a0f0069317d6400bf1a7d364cceefb4807
parent693943c1a45d66a6163443e312d68ccb3afcf710
Simplify diff excuses

Summary:
The theory is that lint and unit errors are rare with no false positives.
Our reality is currently different.

This diff removes the question for providing explanation before actually providing it.
I hope that the wording is not confusing.

It also simplifies the code with less copy/paste errors (not me!) potential.

Test Plan:
`arc diff` on code with lint and unit errors.
Repeat with `--excuse .`.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Koolvin, meitros
Differential Revision: https://secure.phabricator.com/D2631
src/workflow/diff/ArcanistDiffWorkflow.php