diff --git a/src/lint/engine/ArcanistConfigurationDrivenLintEngine.php b/src/lint/engine/ArcanistConfigurationDrivenLintEngine.php --- a/src/lint/engine/ArcanistConfigurationDrivenLintEngine.php +++ b/src/lint/engine/ArcanistConfigurationDrivenLintEngine.php @@ -179,79 +179,38 @@ $match = array(); foreach ($paths as $path) { - $console->writeLog("%s\n", pht("Examining path '%s'...", $path)); - $keep = false; if (!$include) { $keep = true; - $console->writeLog( - " %s\n", - pht('Including path by default because there is no "include" rule.')); } else { - $console->writeLog( - " %s\n", - pht('Testing "include" rules.')); foreach ($include as $rule) { if (preg_match($rule, $path)) { $keep = true; - $console->writeLog( - " %s\n", - pht('Path matches include rule: %s.', $rule)); break; - } else { - $console->writeLog( - " %s\n", - pht('Path does not match include rule: %s', $rule)); } } } if (!$keep) { - $console->writeLog( - " %s\n", - pht('Path does not match any include rules, discarding.')); continue; } if ($exclude) { - $console->writeLog( - " %s\n", - pht('Testing "exclude" rules.')); foreach ($exclude as $rule) { if (preg_match($rule, $path)) { - $console->writeLog( - " %s\n", - pht('Path matches "exclude" rule: %s.', $rule)); continue 2; - } else { - $console->writeLog( - " %s\n", - pht('Path does not match "exclude" rule: %s.', $rule)); } } } if ($global_exclude) { - $console->writeLog( - " %s\n", - pht('Testing global "exclude" rules.')); foreach ($global_exclude as $rule) { if (preg_match($rule, $path)) { - $console->writeLog( - " %s\n", - pht('Path matches global "exclude" rule: %s.', $rule)); continue 2; - } else { - $console->writeLog( - " %s\n", - pht('Path does not match global "exclude" rule: %s.', $rule)); } } } - $console->writeLog( - " %s\n", - pht('Path matches.')); $match[] = $path; }