]> khamidou — GitHub mirrors - arcanist.git/commit
ArcanistGitAPI: document a git ls-files bug
authorRamkumar Ramachandra <artagnon@gmail.com>
Fri, 22 Nov 2013 13:11:59 +0000 (18:41 +0530)
committerepriestley <git@epriestley.com>
Fri, 22 Nov 2013 13:35:37 +0000 (05:35 -0800)
commite62b23e67deacc24469525cc5dea2b297a5073fb
tree29a8d3068037f3dd0e8f40c637845f88c48a58c9
parent86eae809e05227a730861ef7a9d576dd42a695b9
ArcanistGitAPI: document a git ls-files bug

When a submodule is ignored (ignore=all in .gitconfig),

  $ git ls-files -m

fails to exclude the submodule from the listing. Other commands like

  $ git diff-index --name-only HEAD

exclude it just fine.

See: <https://github.com/facebook/arcanist/pull/120>

Reviewed by: epriestley
src/repository/api/ArcanistGitAPI.php