Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2016-05-27 00:59:42 +0300
committerJunio C Hamano <gitster@pobox.com>2016-05-27 20:40:45 +0300
commit37f52e93441e1da00c9c9824ed03cd074d77f43a (patch)
tree778ea059c537026a4444b06b666b0831b2a5c860 /submodule-config.h
parent7777322816a31edff4fb9f429847d11f8974f264 (diff)
submodule-config: keep shallow recommendation around
The shallow field will be used in a later patch by `submodule update`. To differentiate between the actual depth (which may be different), we name it `recommend_shallow` as the field in the .gitmodules file is only a recommendation by the project. 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.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);