Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
dir: convert read_directory_recursive to take an index
[gitweb.git]
/
builtin
/
clean.c
diff --git
a/builtin/clean.c
b/builtin/clean.c
index d861f836a29bf98d248f27632a8c47711a5da3a5..39866afab470e1ad5d0d70d33bdd6feadacf4c99 100644
(file)
--- a/
builtin/clean.c
+++ b/
builtin/clean.c
@@
-683,7
+683,7
@@
static int filter_by_patterns_cmd(void)
for_each_string_list_item(item, &del_list) {
int dtype = DT_UNKNOWN;
- if (is_excluded(&dir, item->string, &dtype)) {
+ if (is_excluded(&dir,
&the_index,
item->string, &dtype)) {
*item->string = '\0';
changed++;
}