Git development
 help / color / mirror / Atom feed
* [PATCH] remove superflous "const"
@ 2006-05-21 20:45 Alex Riesen
  0 siblings, 0 replies; only message in thread
From: Alex Riesen @ 2006-05-21 20:45 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

---

Someone probably forgot to clean it up.

8eecc10b942df988c2b6ea1141636f9674094b76
 builtin-grep.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

8eecc10b942df988c2b6ea1141636f9674094b76
diff --git a/builtin-grep.c b/builtin-grep.c
index d09ddf0..53de8a8 100644
--- a/builtin-grep.c
+++ b/builtin-grep.c
@@ -518,7 +518,7 @@ static int external_grep(struct grep_opt
 	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))
-- 
1.3.3.g58b5b

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-21 20:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-21 20:45 [PATCH] remove superflous "const" Alex Riesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox