mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-28 17:52:42 +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:
parent
e0de194e11
commit
c921e20272
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue