diff options
author | Heiko Voigt <hvoigt@hvoigt.net> | 2015-08-17 17:22:00 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-19 11:43:10 -0700 |
commit | 027771fcb153e0003bcb2d68e1838594a48b0161 (patch) | |
tree | 688a3f852ef82161a77db7ec8fd7c59ce601b956 /submodule-config.h | |
parent | 851e18c3859ad0f9f7e91fdb4d6cce5a8272420b (diff) | |
download | git-027771fcb153e0003bcb2d68e1838594a48b0161.tar.gz |
submodule: allow erroneous values for the fetchRecurseSubmodules optionhv/submodule-config
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 <hvoigt@hvoigt.net>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule-config.h')
-rw-r--r-- | submodule-config.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |