submodule--helper: don't overlay config in remote_submodule_branch
authorBrandon Williams <bmwill@google.com>
Thu, 3 Aug 2017 18:19:49 +0000 (11:19 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Aug 2017 20:11:01 +0000 (13:11 -0700)
commit177257ccc733c1a363bfbb5de630a057804cefc3
treeb2b3cd8efee24351c0d45c7ec841c00aa7325c26
parent5556808690ea245708fb80383be5c1afee2fb3eb
submodule--helper: don't overlay config in remote_submodule_branch

Don't rely on overlaying the repository's config on top of the
submodule-config, instead query the repository's config directly for the
branch field.

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