Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nr/git-cd-to-a-directory'
[gitweb.git]
/
pathspec.c
diff --git
a/pathspec.c
b/pathspec.c
index 62fde5060f064388387059d55e18f4ca5c36ad00..ad1a9f5b28c5119275fbcf9a53e62651190de137 100644
(file)
--- a/
pathspec.c
+++ b/
pathspec.c
@@
-32,7
+32,7
@@
void add_pathspec_matches_against_index(const struct pathspec *pathspec,
if (!num_unmatched)
return;
for (i = 0; i < active_nr; i++) {
- struct cache_entry *ce = active_cache[i];
+
const
struct cache_entry *ce = active_cache[i];
match_pathspec_depth(pathspec, ce->name, ce_namelen(ce), 0, seen);
}
}