]> git.ipfire.org Git - thirdparty/git.git/commit - submodule.h
submodule--helper: move config-sanitizing to submodule.c
authorJeff King <peff@peff.net>
Thu, 28 Apr 2016 13:38:20 +0000 (09:38 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Apr 2016 19:15:21 +0000 (12:15 -0700)
commit4638728c632e59715b7346ddeca83528d37a4894
tree2cdedb14547ccf6179e05ccc9556a9f47099b699
parent860cba61a3eac38151fd203547df7515023303e9
submodule--helper: move config-sanitizing to submodule.c

These functions should be used by any code which spawns a
submodule process, which may happen in submodule.c (e.g.,
for spawning fetch). Let's move them there and make them
public so that submodule--helper can continue to use them.

Since they're now public, let's also provide a basic overview
of their intended use.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c
submodule.c
submodule.h