Merge branch 'dg/submodule-in-dismembered-working-tree'
commita64fe6c1d5949492857e1a5ad14d60175dd484fa
authorJunio C Hamano <gitster@pobox.com>
Sat, 28 Jul 2012 04:13:46 +0000 (27 21:13 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 28 Jul 2012 04:13:46 +0000 (27 21:13 -0700)
tree7ead9fa752f3eba3caa799866f37e1a468d2a2bd
parent5000caa3069e8627abfaff49c65a7daeb81c17fa
parentbe8779f7ac9a3be9aa783df008d59082f4054f67
Merge branch 'dg/submodule-in-dismembered-working-tree'

In a superproject that has repository outside of its working tree,
"git submodule add" failed to clone a new submodule, as GIT_DIR and
GIT_WORK_TREE environment variables necessary to work in such a
superproject interfered with access to the submodule repository.

* dg/submodule-in-dismembered-working-tree:
  git-submodule: work with GIT_DIR/GIT_WORK_TREE