]> git.ipfire.org Git - thirdparty/git.git/blobdiff - submodule-config.h
Merge branch 'ls/filter-process'
[thirdparty/git.git] / submodule-config.h
index 9bfa65af034fd39cb5bda1cdc1460f6d9b7394df..d05c542d2cdace181ea72055c0f71db6b1afda42 100644 (file)
@@ -2,6 +2,7 @@
 #define SUBMODULE_CONFIG_CACHE_H
 
 #include "hashmap.h"
+#include "submodule.h"
 #include "strbuf.h"
 
 /*
@@ -14,8 +15,11 @@ struct submodule {
        const char *url;
        int fetch_recurse;
        const char *ignore;
+       const char *branch;
+       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);