remove superflous "const"
Signed-off-by: Junio C Hamano <junkio@cox.net>
Alex Riesen committed
May 21, 2006 at 22:45 UTC
fbd01abf50488d8ed94c36bdd5bfc2a4ddafb8a2
1 file changed
+1
-1
builtin-grep.c
+1
-1
@@ -518,7 +518,7 @@ static int external_grep(struct grep_opt *opt, const char **paths, int cached)
518
argc = nr;
519
for (i = 0; i < active_nr; i++) {
520
struct cache_entry *ce = active_cache[i];
521
- const char *name;
521
+ char *name;
522
if (ce_stage(ce) || !S_ISREG(ntohl(ce->ce_mode)))
523
continue;
524
if (!pathspec_matches(paths, ce->name))