summaryrefslogtreecommitdiff
path: root/submodule.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-07-22 11:24:00 -0700
committerJunio C Hamano <gitster@pobox.com>2013-07-22 11:24:01 -0700
commitd3aeb31dc410a71ee41b87328f0d71996417294f (patch)
treec9792a61c95180c0eeb4c85f5c97fbde63aa53d0 /submodule.c
parente9f1a6c189c34a7ea98cbdb92acc677a72a5b4ea (diff)
parent9c5e6c802cde9881785b7f1b3278b97be4aabd82 (diff)
downloadgit-d3aeb31dc410a71ee41b87328f0d71996417294f.tar.gz
Merge branch 'nd/const-struct-cache-entry'
* nd/const-struct-cache-entry: Convert "struct cache_entry *" to "const ..." wherever possible
Diffstat (limited to 'submodule.c')
-rw-r--r--submodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/submodule.c b/submodule.c
index 85415d0057..3f0a3f9419 100644
--- a/submodule.c
+++ b/submodule.c
@@ -624,7 +624,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))