Convert "struct cache_entry *" to "const ..." wherever possible
[gitweb.git] / builtin / commit.c
index 6b693c16d8842b70b0e1c7bd7df5095947ed0a64..c9cbb811b031096a8e448567510f539c56693612 100644 (file)
@@ -205,7 +205,7 @@ static int list_paths(struct string_list *list, const char *with_tree,
        }
 
        for (i = 0; i < active_nr; i++) {
-               struct cache_entry *ce = active_cache[i];
+               const struct cache_entry *ce = active_cache[i];
                struct string_list_item *item;
 
                if (ce->ce_flags & CE_UPDATE)