submodule: add repo_read_gitmodules
authorBrandon Williams <bmwill@google.com>
Thu, 22 Jun 2017 18:43:45 +0000 (11:43 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 24 Jun 2017 01:24:34 +0000 (18:24 -0700)
commit69aba5329e3464bfe38d2614033e19c490f8694d
treeeb5584573975b7119ef9bef8d1375d7d3be8b3d1
parentbf12fcdf5ec00e6b7d0978750df9e0146eb57c75
submodule: add repo_read_gitmodules

Teach the repo object to be able to populate the submodule_cache by
reading the repository's gitmodules file.

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