mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 08:12:40 +01:00
Resolve further subtlety with untracked files.
Summary: Test Plan: Reviewers: CC:
This commit is contained in:
parent
0ac9b6c27b
commit
0eecd3108f
1 changed files with 9 additions and 1 deletions
|
@ -71,13 +71,21 @@ EOTEXT
|
|||
|
||||
if ($this->getArgument('paths')) {
|
||||
// TODO: deal with git stuff
|
||||
|
||||
$paths = $this->getArgument('paths');
|
||||
} else {
|
||||
$paths = $repository_api->getWorkingCopyStatus();
|
||||
|
||||
// TODO: clean this up
|
||||
foreach ($paths as $path => $mask) {
|
||||
if ($mask & ArcanistRepositoryAPI::FLAG_UNTRACKED) {
|
||||
unset($paths[$path]);
|
||||
}
|
||||
}
|
||||
|
||||
$paths = array_keys($paths);
|
||||
}
|
||||
|
||||
|
||||
PhutilSymbolLoader::loadClass($engine_class);
|
||||
$engine = newv($engine_class, array());
|
||||
$engine->setWorkingCopy($working_copy);
|
||||
|
|
Loading…
Reference in a new issue