diff options
author | Russell Belfer <rb@github.com> | 2014-01-28 11:45:06 -0800 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2014-01-30 09:59:59 -0800 |
commit | c0644c3fbb31c381afb2d0658b5c6e83432fd8c9 (patch) | |
tree | 420faf1e93d3191e9aae9e94915da2cd998c56d2 /src/submodule.h | |
parent | 5572d2b8a1668f3c2f35ec91d3f864f28f8ef987 (diff) | |
download | libgit2-c0644c3fbb31c381afb2d0658b5c6e83432fd8c9.tar.gz |
Make submodule fetchRecurse match other options
This removes the fetchRecurse compiler warnings and makes the
behavior match the other submodule options (i.e. the in-memory
setting can be reset to the on-disk value).
Diffstat (limited to 'src/submodule.h')
-rw-r--r-- | src/submodule.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/submodule.h b/src/submodule.h index 94748aca0..5e532e1ae 100644 --- a/src/submodule.h +++ b/src/submodule.h @@ -60,7 +60,9 @@ * - `update_default` is the update value from the config * - `ignore` is a git_submodule_ignore_t value - see gitmodules(5) ignore. * - `ignore_default` is the ignore value from the config - * - `fetch_recurse` is 0 or 1 - see gitmodules(5) fetchRecurseSubmodules. + * - `fetch_recurse` is a git_submodule_recurse_t value - see gitmodules(5) + * fetchRecurseSubmodules. + * - `fetch_recurse_default` is the recurse value from the config * * - `repo` is the parent repository that contains this submodule. * - `flags` after for internal use, tracking where this submodule has been @@ -87,6 +89,7 @@ struct git_submodule { git_submodule_ignore_t ignore; git_submodule_ignore_t ignore_default; git_submodule_recurse_t fetch_recurse; + git_submodule_recurse_t fetch_recurse_default; /* internal information */ git_repository *repo; |