summaryrefslogtreecommitdiff
path: root/submodule.h
diff options
context:
space:
mode:
authorHeiko Voigt <hvoigt@hvoigt.net>2015-08-18 00:21:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-08-19 18:43:10 (GMT)
commit851e18c3859ad0f9f7e91fdb4d6cce5a8272420b (patch)
tree174141bad5af8da81d0eb6272584eadfa1906c74 /submodule.h
parent0d9f282c943a0799999176a2d8291ecbad060389 (diff)
downloadgit-851e18c3859ad0f9f7e91fdb4d6cce5a8272420b.zip
git-851e18c3859ad0f9f7e91fdb4d6cce5a8272420b.tar.gz
git-851e18c3859ad0f9f7e91fdb4d6cce5a8272420b.tar.bz2
submodule: use new config API for worktree configurations
We remove the extracted functions and directly parse into and read out of the cache. This allows us to have one unified way of accessing submodule configuration values specific to single submodules. Regardless whether we need to access a configuration from history or from the worktree. Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net> Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Stefan Beller <sbeller@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 920fef3..547219d 100644
--- a/submodule.h
+++ b/submodule.h
@@ -20,7 +20,6 @@ void set_diffopt_flags_from_submodule_config(struct diff_options *diffopt,
const char *path);
int submodule_config(const char *var, const char *value, void *cb);
void gitmodules_config(void);
-int parse_submodule_config_option(const char *var, const char *value);
void handle_ignore_submodules_arg(struct diff_options *diffopt, const char *);
int parse_fetch_recurse_submodules_arg(const char *opt, const char *arg);
void show_submodule_summary(FILE *f, const char *path,