Convert "struct cache_entry *" to "const ..." wherever possible
[gitweb.git] / submodule.c
index 86854248983be78b3702f5045a659dfe83bf4446..4045d5316bc584c55c731c985caca0c2875f670b 100644 (file)
@@ -623,7 +623,7 @@ int fetch_populated_submodules(const struct argv_array *options,
                struct strbuf submodule_path = STRBUF_INIT;
                struct strbuf submodule_git_dir = STRBUF_INIT;
                struct strbuf submodule_prefix = STRBUF_INIT;
-               struct cache_entry *ce = active_cache[i];
+               const struct cache_entry *ce = active_cache[i];
                const char *git_dir, *name, *default_argv;
 
                if (!S_ISGITLINK(ce->ce_mode))