diff options
| author | Junio C Hamano <gitster@pobox.com> | 2013-07-22 11:24:00 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2013-07-22 11:24:01 -0700 |
| commit | d3aeb31dc410a71ee41b87328f0d71996417294f (patch) | |
| tree | c9792a61c95180c0eeb4c85f5c97fbde63aa53d0 /builtin/commit.c | |
| parent | Merge branch 'jk/gcc-function-attributes' (diff) | |
| parent | Convert "struct cache_entry *" to "const ..." wherever possible (diff) | |
| download | git-d3aeb31dc410a71ee41b87328f0d71996417294f.tar.gz git-d3aeb31dc410a71ee41b87328f0d71996417294f.zip | |
Merge branch 'nd/const-struct-cache-entry'
* nd/const-struct-cache-entry:
Convert "struct cache_entry *" to "const ..." wherever possible
Diffstat (limited to 'builtin/commit.c')
| -rw-r--r-- | builtin/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c index 790e5ab5cf..65cf2a79b7 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -207,7 +207,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) |
