From 027771fcb153e0003bcb2d68e1838594a48b0161 Mon Sep 17 00:00:00 2001 From: Heiko Voigt Date: Mon, 17 Aug 2015 17:22:00 -0700 Subject: submodule: allow erroneous values for the fetchRecurseSubmodules option We should not die when reading the submodule config cache since the user might not be able to get out of that situation when the configuration is part of the history. We should handle this condition later when the value is about to be used. Signed-off-by: Heiko Voigt Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano --- submodule-config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'submodule-config.h') diff --git a/submodule-config.h b/submodule-config.h index 5fe44ce4b7..9061e4ed38 100644 --- a/submodule-config.h +++ b/submodule-config.h @@ -18,6 +18,7 @@ struct submodule { unsigned char gitmodules_sha1[20]; }; +int parse_fetch_recurse_submodules_arg(const char *opt, const char *arg); int parse_submodule_config_option(const char *var, const char *value); const struct submodule *submodule_from_name(const unsigned char *commit_sha1, const char *name); -- cgit v1.2.1