]> khamidou — GitHub mirrors - arcanist.git/commit
ArcanistGitAPI: replace 'ls-files -m' with diff-files
authorRamkumar Ramachandra <artagnon@gmail.com>
Fri, 22 Nov 2013 16:17:15 +0000 (21:47 +0530)
committerepriestley <git@epriestley.com>
Fri, 22 Nov 2013 16:39:20 +0000 (08:39 -0800)
commit6033f1422144db95dee9003b58ed5198c2f5e372
treed598deecec726e332c9177d80fe9ffa52f11c24e
parente62b23e67deacc24469525cc5dea2b297a5073fb
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
src/repository/api/ArcanistGitAPI.php