projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e84816
)
remove superflous "const"
author
Alex Riesen
<fork0@t-online.de>
Sun, 21 May 2006 20:45:46 +0000
(22:45 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 21 May 2006 23:40:45 +0000
(16:40 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-grep.c
patch
|
blob
|
history
diff --git
a/builtin-grep.c
b/builtin-grep.c
index
d09ddf0
..
53de8a8
100644
(file)
--- 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];
- c
onst c
har *name;
+ char *name;
if (ce_stage(ce) || !S_ISREG(ntohl(ce->ce_mode)))
continue;
if (!pathspec_matches(paths, ce->name))