mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 08:12: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:
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