]> khamidou — GitHub mirrors - arcanist.git/commit
Only lint files in the working copy with `arc lint --everything`.
authorJoshua Spence <josh@joshuaspence.com>
Mon, 23 Jun 2014 00:30:57 +0000 (10:30 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Mon, 23 Jun 2014 00:30:57 +0000 (10:30 +1000)
commit4fd6c99a93318838e2ca1a9cab5c5c61747e4bc1
treec08d127bc7cea90522ac72be0c037ff23264cf31
parentb2aeca1963eb1d7483c5b17bf459a914c72ad413
Only lint files in the working copy with `arc lint --everything`.

Summary: Fixes T5442. `arc lint --everything` currently uses a `FileFinder` to discover paths for linting. A consequence of this is that files that are ignored or otherwise excluded from version control are linted.

Test Plan: Ran `arc lint --everything` in rPHU and noticed that I wasn't prompted to add a trailing newline to `src/.phutil_module_cache`.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Maniphest Tasks: T5442

Differential Revision: https://secure.phabricator.com/D9674
src/workflow/ArcanistLintWorkflow.php