mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-10 00:42:40 +01:00
ArcanistGitAPI: replace 'ls-files -m' with diff-files
As documented, $ git ls-files -m fails to exclude ignored submodules. Replace it with an equivalent: $ git diff-files --name-only which does not suffer from this defect. See: <https://github.com/facebook/arcanist/pull/121> Reviewed by: epriestley
This commit is contained in:
parent
e62b23e67d
commit
6033f14221
1 changed files with 1 additions and 3 deletions
|
@ -474,11 +474,9 @@ final class ArcanistGitAPI extends ArcanistRepositoryAPI {
|
|||
));
|
||||
|
||||
// Unstaged changes
|
||||
// TODO: This doesn't exclude ignored submodules.
|
||||
// Upstream bug: http://thread.gmane.org/gmane.comp.version-control.git/238173
|
||||
$unstaged_future = $this->buildLocalFuture(
|
||||
array(
|
||||
'ls-files -m',
|
||||
'diff-files --name-only',
|
||||
));
|
||||
|
||||
$futures = array(
|
||||
|
|
Loading…
Reference in a new issue