summaryrefslogtreecommitdiff
path: root/submodule-config.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-05-20 15:26:53 -0700
committerJunio C Hamano <gitster@pobox.com>2022-05-20 15:26:53 -0700
commitee0241bd224d3c106701876d1cceecf17b6039e3 (patch)
tree207a474e5d7946a91cfeba3009c800464d4ca8b7 /submodule-config.h
parent0a88638b0b2f52f588c21de3c0a8af6b49a2e540 (diff)
parent465b30a92d4c2c76e434790bdf487d57547a6cc4 (diff)
downloadgit-ee0241bd224d3c106701876d1cceecf17b6039e3.tar.gz
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;