summaryrefslogtreecommitdiff
path: root/submodule-config.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-06-20 11:01:01 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-06-20 11:01:01 -0700
commit3807098cd6abf4b94b6e0326255e5f5f0577f975 (patch)
tree34d2bb8e5c9ae4f9409c2cfdd6206ec32a5ff5d0 /submodule-config.h
parentMerge branch 'sb/submodule-misc-cleanups' (diff)
parentsubmodule update: learn `--[no-]recommend-shallow` option (diff)
downloadtgif-3807098cd6abf4b94b6e0326255e5f5f0577f975.tar.xz
Merge branch 'sb/submodule-recommend-shallowness'
An upstream project can make a recommendation to shallowly clone some submodules in the .gitmodules file it ships. * sb/submodule-recommend-shallowness: submodule update: learn `--[no-]recommend-shallow` option submodule-config: keep shallow recommendation around
Diffstat (limited to 'submodule-config.h')
-rw-r--r--submodule-config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/submodule-config.h b/submodule-config.h
index e4857f53a8..b1fdcc0c33 100644
--- a/submodule-config.h
+++ b/submodule-config.h
@@ -18,6 +18,7 @@ struct submodule {
struct submodule_update_strategy update_strategy;
/* the sha1 blob id of the responsible .gitmodules file */
unsigned char gitmodules_sha1[20];
+ int recommend_shallow;
};
int parse_fetch_recurse_submodules_arg(const char *opt, const char *arg);