Permalink
Browse files

Don't use cache in svn-hook-pre-commit

Test Plan: arc lint

Reviewers: epriestley, wez

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5779
  • Loading branch information...
1 parent 957249f commit 28df67963bcb9fa16dd9e86152767182cc65291e Nick Harper committed Apr 24, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/lint/engine/ArcanistLintEngine.php
View
3 src/lint/engine/ArcanistLintEngine.php
@@ -339,6 +339,9 @@ public function isSeverityEnabled($severity) {
}
private function shouldUseCache($cache_granularity, $repository_version) {
+ if ($this->commitHookMode) {
+ return false;
+ }
switch ($cache_granularity) {
case ArcanistLinter::GRANULARITY_FILE:
return true;

0 comments on commit 28df679

Please sign in to comment.