]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Use getConfigFromAnySource when checking for immutable_history
authorJamie Wong <jamie.lf.wong@gmail.com>
Mon, 11 Jun 2012 14:15:28 +0000 (10:15 -0400)
committerJamie Wong <jamie.lf.wong@gmail.com>
Mon, 11 Jun 2012 14:15:28 +0000 (10:15 -0400)
src/workflow/ArcanistBaseWorkflow.php

index e1776129e60b1f83760df56b2842757436d0a059..18392d7d528a1631bdaea586feb143b3853a02ff 100644 (file)
@@ -1036,7 +1036,7 @@ abstract class ArcanistBaseWorkflow {
     $repository_api = $this->getRepositoryAPI();
     $working_copy = $this->getWorkingCopy();
 
-    $project_config = $working_copy->getConfig('immutable_history');
+    $project_config = $working_copy->getConfigFromAnySource('immutable_history');
     if ($project_config !== null) {
       return $project_config;
     }