Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 28df67963bcb9fa16dd9e86152767182cc65291e 1 parent 957249f
Nick Harper authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/lint/engine/ArcanistLintEngine.php
3  src/lint/engine/ArcanistLintEngine.php
View
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.