submodule: rewrite `module_clone` shell function in C
commitee8838d157761acf4cc38f2378277dc894c10eb0
authorStefan Beller <sbeller@google.com>
Tue, 8 Sep 2015 18:57:45 +0000 (8 11:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Sep 2015 22:48:21 +0000 (8 15:48 -0700)
treeb2efde8f90fa5de6d315e629bcec2454e840f89a
parent0ea306ef1701d6f42e74d3c33addfcd630248904
submodule: rewrite `module_clone` shell function in C

This reimplements the helper function `module_clone` in shell
in C as `clone`. This functionality is needed for converting
`git submodule update` later on, which we want to add threading
to.

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