diff options
author | Brandon Williams <bmwill@google.com> | 2017-08-03 11:19:54 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-03 13:11:01 -0700 |
commit | 2cc67fe54a029842e71e49a676bf010e988d4063 (patch) | |
tree | 1bdaca71bd8a8f43ae7e6c7904a3d708319ea517 /submodule.h | |
parent | 7463e2ec3e932707b70b5d5c82df51bfbb6aa77d (diff) | |
download | git-2cc67fe54a029842e71e49a676bf010e988d4063.tar.gz |
submodule: remove submodule_config callback routine
Remove the last remaining caller of 'submodule_config()' as well as the
function itself.
With 'submodule_config()' being removed the submodule-config API can be
a little simpler as callers don't need to worry about whether or not
they need to overlay the repository's config on top of the
submodule-config. This also makes it more difficult to accidentally
add non-submodule specific configuration to the .gitmodules file.
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.h')
-rw-r--r-- | submodule.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/submodule.h b/submodule.h index 48586efe7d..4f70c49444 100644 --- a/submodule.h +++ b/submodule.h @@ -40,7 +40,6 @@ extern int remove_path_from_gitmodules(const char *path); extern void stage_updated_gitmodules(void); extern void set_diffopt_flags_from_submodule_config(struct diff_options *, const char *path); -extern int submodule_config(const char *var, const char *value, void *cb); extern int git_default_submodule_config(const char *var, const char *value, void *cb); struct option; |