Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Convert "struct cache_entry *" to "const ..." wherever possible
[gitweb.git]
/
builtin
/
commit.c
diff --git
a/builtin/commit.c
b/builtin/commit.c
index 6b693c16d8842b70b0e1c7bd7df5095947ed0a64..c9cbb811b031096a8e448567510f539c56693612 100644
(file)
--- a/
builtin/commit.c
+++ b/
builtin/commit.c
@@
-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)