Re: [PATCH 2/7] submodule-config: add helper function to get 'fetch' config from .gitmodules

2018-06-22 Thread Brandon Williams
On 06/22, Antonio Ospite wrote: > diff --git a/submodule-config.c b/submodule-config.c > index b431555db..ef292eb7c 100644 > --- a/submodule-config.c > +++ b/submodule-config.c > @@ -688,3 +688,31 @@ void config_from_gitmodules(config_fn_t fn, void *data) > free(file); > } > }

[PATCH 2/7] submodule-config: add helper function to get 'fetch' config from .gitmodules

2018-06-22 Thread Antonio Ospite
Add a helper function to make it clearer that retrieving 'fetch' configuration from the .gitmodules file is a special case supported solely for backward compatibility purposes. This change removes one direct use of 'config_from_gitmodules' in code not strictly related to submodules, in the effort