diff options
author | Stefan Beller <sbeller@google.com> | 2017-06-23 12:13:00 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-23 15:26:55 -0700 |
commit | 886dc154d8086dffb16e0830a1db2f024758fe52 (patch) | |
tree | 7433ada8d7e957d68d0790d65cbc098ae790cea4 /submodule-config.h | |
parent | 5402b1352f5181247405fbff1887008a0cb3b04a (diff) | |
download | git-886dc154d8086dffb16e0830a1db2f024758fe52.tar.gz |
builtin/fetch: factor submodule recurse parsing out to submodule config
Later we want to access this parsing in builtin/pull as well.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/submodule-config.h b/submodule-config.h index d434ecdb45..1076a68653 100644 --- a/submodule-config.h +++ b/submodule-config.h @@ -23,6 +23,9 @@ struct submodule { }; extern int parse_fetch_recurse_submodules_arg(const char *opt, const char *arg); +struct option; +extern int option_fetch_parse_recurse_submodules(const struct option *opt, + const char *arg, int unset); extern int parse_update_recurse_submodules_arg(const char *opt, const char *arg); extern int parse_push_recurse_submodules_arg(const char *opt, const char *arg); extern int parse_submodule_config_option(const char *var, const char *value); |