summaryrefslogtreecommitdiffstats
path: root/submodule-config.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-05-21 00:26:53 +0200
committerJunio C Hamano <gitster@pobox.com>2022-05-21 00:26:53 +0200
commitee0241bd224d3c106701876d1cceecf17b6039e3 (patch)
tree207a474e5d7946a91cfeba3009c800464d4ca8b7 /submodule-config.h
parentMerge branch 'ah/convert-warning-message' (diff)
parentsubmodule.h: use a named enum for RECURSE_SUBMODULES_* (diff)
downloadgit-ee0241bd224d3c106701876d1cceecf17b6039e3.tar.xz
git-ee0241bd224d3c106701876d1cceecf17b6039e3.zip
Merge branch 'pb/submodule-recurse-mode-enum'
Small code clean-up. * pb/submodule-recurse-mode-enum: submodule.h: use a named enum for RECURSE_SUBMODULES_*
Diffstat (limited to 'submodule-config.h')
-rw-r--r--submodule-config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/submodule-config.h b/submodule-config.h
index fa229a8b97..28a8ca6bf4 100644
--- a/submodule-config.h
+++ b/submodule-config.h
@@ -38,7 +38,7 @@ struct submodule {
const char *path;
const char *name;
const char *url;
- int fetch_recurse;
+ enum submodule_recurse_mode fetch_recurse;
const char *ignore;
const char *branch;
struct submodule_update_strategy update_strategy;