mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 00:02:40 +01:00
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
This commit is contained in:
parent
957249f56c
commit
28df67963b
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue