1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-25 00:02:40 +01:00

Don't send untracked files to lint or unit workflows when running 'arc diff'.

Summary:

Test Plan:

Reviewers:

CC:
This commit is contained in:
epriestley 2011-02-18 16:52:27 -08:00
parent e0de194e11
commit c921e20272

View file

@ -423,6 +423,13 @@ EOTEXT
$this->getArgument('paths', array()));
$paths = $repository_api->getWorkingCopyStatus();
}
foreach ($paths as $path => $mask) {
if ($mask & ArcanistRepositoryAPI::FLAG_UNTRACKED) {
unset($paths[$path]);
}
}
return $paths;
}