builtin/submodule--helper: factor out method to update a single submodule
commitc94d9dc286027e0343ffd58b5f7f2899691f6747
authorStefan Beller <sbeller@google.com>
Fri, 3 Aug 2018 22:23:20 +0000 (3 15:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 3 Aug 2018 22:37:12 +0000 (3 15:37 -0700)
tree6026c0330ee9fff1e83eaa0735c577255acf4228
parentf1d15713faef54c0bcc5d35c9089efffa4c914a1
builtin/submodule--helper: factor out method to update a single submodule

In a later patch we'll find this method handy.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c