Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'bs/stdio-undef-before-redef'
[gitweb.git]
/
builtin
/
commit.c
diff --git
a/builtin/commit.c
b/builtin/commit.c
index 9c51b129e856b9c00a93097dcebd5e8b9c5fe128..824be655857bf4fa5b1992054ef1f8948835df85 100644
(file)
--- a/
builtin/commit.c
+++ b/
builtin/commit.c
@@
-234,7
+234,7
@@
static int list_paths(struct string_list *list, const char *with_tree,
if (ce->ce_flags & CE_UPDATE)
continue;
- if (!
match_pathspec_depth(pattern, ce->name, ce_namelen(ce), 0
, m))
+ if (!
ce_path_match(ce, pattern
, m))
continue;
item = string_list_insert(list, ce->name);
if (ce_skip_worktree(ce))