]> khamidou — GitHub mirrors - arcanist.git/commit
Respect granularity in reading cached lint messages
authorvrana <jakubv@fb.com>
Wed, 6 Feb 2013 23:27:31 +0000 (15:27 -0800)
committervrana <jakubv@fb.com>
Thu, 14 Feb 2013 19:45:38 +0000 (11:45 -0800)
commit619dd62f31340dad0e112c04a9eebb94bd45d259
tree60e8aa11ebcbdef6b4fb4360ec8790d37cec5d0e
parent0795edfe1acd5b7a598e0c48fa1f7116047e2a07
Respect granularity in reading cached lint messages

Summary:
We save repository version to lint cache but ignore it when reading the cache.
Fix it.

Test Plan: Made an error for linter with repo granularity, deleted the error from the cache. Relinted, didn't see the error. Changed another file and relinted, saw the error.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D4841
src/lint/ArcanistLintMessage.php
src/lint/engine/ArcanistLintEngine.php
src/workflow/ArcanistLintWorkflow.php