summaryrefslogtreecommitdiff
path: root/submodule.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-08-03 18:19:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-08-03 20:11:01 (GMT)
commit2cc67fe54a029842e71e49a676bf010e988d4063 (patch)
tree1bdaca71bd8a8f43ae7e6c7904a3d708319ea517 /submodule.h
parent7463e2ec3e932707b70b5d5c82df51bfbb6aa77d (diff)
downloadgit-2cc67fe54a029842e71e49a676bf010e988d4063.zip
git-2cc67fe54a029842e71e49a676bf010e988d4063.tar.gz
git-2cc67fe54a029842e71e49a676bf010e988d4063.tar.bz2
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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/submodule.h b/submodule.h
index 48586ef..4f70c49 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;