aboutsummaryrefslogtreecommitdiffstats
path: root/submodule.h
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2017-03-14 14:46:33 -0700
committerJunio C Hamano <gitster@pobox.com>2017-03-15 18:15:54 -0700
commitcf055e465f6febedb8189407a901042814d6b5d8 (patch)
tree51febb1e8d1cccc01325c6f9463ad862ac73e569 /submodule.h
parentd601fd09573540287d1e00e3a25ef6311885bb46 (diff)
downloadgit-cf055e465f6febedb8189407a901042814d6b5d8.tar.gz
update submodules: add a config option to determine if submodules are updated
In later patches we introduce the options and flag for commands that modify the working directory, e.g. git-checkout. Have a central place to store such settings whether we want to update a submodule. 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, 1 insertions, 0 deletions
diff --git a/submodule.h b/submodule.h
index 0b915bd3ac..b4e60c08d2 100644
--- a/submodule.h
+++ b/submodule.h
@@ -64,6 +64,7 @@ extern void show_submodule_inline_diff(FILE *f, const char *path,
const char *del, const char *add, const char *reset,
const struct diff_options *opt);
extern void set_config_fetch_recurse_submodules(int value);
+extern void set_config_update_recurse_submodules(int value);
extern void check_for_new_submodule_commits(unsigned char new_sha1[20]);
extern int fetch_populated_submodules(const struct argv_array *options,
const char *prefix, int command_line_option,