Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Adjust for 2.19.x series
[gitweb.git]
/
builtin
/
clean.c
diff --git
a/builtin/clean.c
b/builtin/clean.c
index ab402c204cbcaea6190608753311605d37ca83d2..8d9a7dc20647079bc5f35b446bbbab5479abb32d 100644
(file)
--- a/
builtin/clean.c
+++ b/
builtin/clean.c
@@
-976,7
+976,7
@@
int cmd_clean(int argc, const char **argv, const char *prefix)
continue;
if (pathspec.nr)
- matches = dir_path_match(ent, &pathspec, 0, NULL);
+ matches = dir_path_match(
&the_index,
ent, &pathspec, 0, NULL);
if (pathspec.nr && !matches)
continue;