Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: webserver config for PATH_INFO
[gitweb.git]
/
builtin-commit.c
diff --git
a/builtin-commit.c
b/builtin-commit.c
index 7aaa5304c7d573f2f7750d58888621b0e82f3712..d6a3a6203aee399218c89d31ff5cb28f16dc0cc6 100644
(file)
--- a/
builtin-commit.c
+++ b/
builtin-commit.c
@@
-166,7
+166,7
@@
static int list_paths(struct string_list *list, const char *with_tree,
struct cache_entry *ce = active_cache[i];
if (ce->ce_flags & CE_UPDATE)
continue;
- if (!
pathspec_match(pattern, m, ce->name, 0
))
+ if (!
match_pathspec(pattern, ce->name, ce_namelen(ce), 0, m
))
continue;
string_list_insert(ce->name, list);
}