remove superflous "const"
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
9e848163ed
commit
fbd01abf50
@ -518,7 +518,7 @@ static int external_grep(struct grep_opt *opt, const char **paths, int cached)
|
|||||||
argc = nr;
|
argc = nr;
|
||||||
for (i = 0; i < active_nr; i++) {
|
for (i = 0; i < active_nr; i++) {
|
||||||
struct cache_entry *ce = active_cache[i];
|
struct cache_entry *ce = active_cache[i];
|
||||||
const char *name;
|
char *name;
|
||||||
if (ce_stage(ce) || !S_ISREG(ntohl(ce->ce_mode)))
|
if (ce_stage(ce) || !S_ISREG(ntohl(ce->ce_mode)))
|
||||||
continue;
|
continue;
|
||||||
if (!pathspec_matches(paths, ce->name))
|
if (!pathspec_matches(paths, ce->name))
|
||||||
|
Loading…
Reference in New Issue
Block a user