Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/diff-quiet-stat-dirty' into maint
[gitweb.git]
/
pathspec.c
diff --git
a/pathspec.c
b/pathspec.c
index 6cb9fd3014a424d11647e48de3b841012ccc2ffe..80430999553d8fda8d095b007bb08c1999bf6993 100644
(file)
--- a/
pathspec.c
+++ b/
pathspec.c
@@
-33,7
+33,7
@@
void add_pathspec_matches_against_index(const struct pathspec *pathspec,
return;
for (i = 0; i < active_nr; i++) {
const struct cache_entry *ce = active_cache[i];
-
match_pathspec_depth(pathspec, ce->name, ce_namelen(ce), 0
, seen);
+
ce_path_match(ce, pathspec
, seen);
}
}