mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 23:02:41 +01:00
Fix 'arc lint --everything' when svn has uncommitted changes
Summary: My recent change adding --everything to arc lint could sometimes cause a "diff is empty" error, this patch fixes it. Test Plan: Ran "arc lint --everything" before and after patch. No longer errors out. Only appeared to originally happen when there were uncommited changes in an svn repo. Reviewers: epriestley Reviewed By: epriestley CC: Korvin, aran Differential Revision: https://secure.phabricator.com/D6732
This commit is contained in:
parent
857b754c7e
commit
c11b9e1af9
1 changed files with 1 additions and 0 deletions
|
@ -222,6 +222,7 @@ EOTEXT
|
||||||
$paths = id(new FileFinder($working_copy->getProjectRoot()))
|
$paths = id(new FileFinder($working_copy->getProjectRoot()))
|
||||||
->excludePath($filter)
|
->excludePath($filter)
|
||||||
->find();
|
->find();
|
||||||
|
$this->shouldLintAll = true;
|
||||||
} else {
|
} else {
|
||||||
$paths = $this->selectPathsForWorkflow($paths, $rev);
|
$paths = $this->selectPathsForWorkflow($paths, $rev);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue