diff --git a/src/lint/engine/ArcanistLintEngine.php b/src/lint/engine/ArcanistLintEngine.php index 6076d3e6..b08f5e19 100644 --- a/src/lint/engine/ArcanistLintEngine.php +++ b/src/lint/engine/ArcanistLintEngine.php @@ -339,6 +339,9 @@ abstract class ArcanistLintEngine { } private function shouldUseCache($cache_granularity, $repository_version) { + if ($this->commitHookMode) { + return false; + } switch ($cache_granularity) { case ArcanistLinter::GRANULARITY_FILE: return true;