Re: diff-index does not consider a removed submodule to be staged with --ignore-submodules

2014-09-21 Thread Jens Lehmann
Am 20.09.2014 um 18:20 schrieb Daniel Hahler: After staging the removal of a submodule, diff-index does not consider this when --ignore-submodules is being used: # In a repository with submodule sm: % git rm --cached sm % git diff-index --cached --quiet --ignore-submodules HEAD

diff-index does not consider a removed submodule to be staged with --ignore-submodules

2014-09-20 Thread Daniel Hahler
After staging the removal of a submodule, diff-index does not consider this when --ignore-submodules is being used: # In a repository with submodule sm: % git rm --cached sm % git diff-index --cached --quiet --ignore-submodules HEAD % echo $? 0 % git status On branch