submodules: load gitmodules file from commit sha1
commit9ebf689aad72bfc091da21e1d73a05308f1ace85
authorBrandon Williams <bmwill@google.com>
Fri, 16 Dec 2016 19:03:18 +0000 (16 11:03 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 22 Dec 2016 19:47:33 +0000 (22 11:47 -0800)
treea6977a330a910da0e7760f96a9b1e70d6e3e9f60
parentf9f42560e2911a5eef9a3d463a63cfd48d54dd07
submodules: load gitmodules file from commit sha1

teach submodules to load a '.gitmodules' file from a commit sha1.  This
enables the population of the submodule_cache to be based on the state
of the '.gitmodules' file from a particular commit.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
config.c
submodule-config.c
submodule-config.h
submodule.c
submodule.h