submodule-config: allow submodule_free to handle arbitrary repositories
authorStefan Beller <redacted>
Wed, 28 Mar 2018 22:35:28 +0000 (15:35 -0700)
committerJunio C Hamano <redacted>
Thu, 29 Mar 2018 16:44:50 +0000 (09:44 -0700)
commitf793b895fd752e37301702eaff948a40e7c0a4b8
tree423cfe2800289f3f40a595500f50aabd267b1c2e
parent6856077ab063f16b4ccacff971c3ebb185935465
submodule-config: allow submodule_free to handle arbitrary repositories

At some point we may want to rename the function so that it describes what
it actually does as 'submodule_free' doesn't quite describe that this
clears a repository's submodule cache.  But that's beyond the scope of
this series.

While at it remove the extern key word from its declaration.

Signed-off-by: Stefan Beller <redacted>
Reviewed-by: Jonathan Tan <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/technical/api-submodule-config.txt
builtin/grep.c
submodule-config.c
submodule-config.h
t/helper/test-submodule-config.c
unpack-trees.c
git clone https://git.99rst.org/PROJECT