From: Alex Riesen Date: Sun, 21 May 2006 20:45:46 +0000 (+0200) Subject: remove superflous "const" X-Git-Tag: v1.4.0-rc1~106 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=fbd01abf50488d8ed94c36bdd5bfc2a4ddafb8a2;p=git.git remove superflous "const" Signed-off-by: Junio C Hamano --- diff --git a/builtin-grep.c b/builtin-grep.c index d09ddf04..53de8a88 100644 --- a/builtin-grep.c +++ b/builtin-grep.c @@ -518,7 +518,7 @@ static int external_grep(struct grep_opt *opt, const char **paths, int cached) argc = nr; for (i = 0; i < active_nr; i++) { struct cache_entry *ce = active_cache[i]; - const char *name; + char *name; if (ce_stage(ce) || !S_ISREG(ntohl(ce->ce_mode))) continue; if (!pathspec_matches(paths, ce->name))