diff options
author | Brandon Williams <bmwill@google.com> | 2017-05-05 12:53:30 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-06 19:15:39 +0900 |
commit | a0bba65b107651946431bee4c71d05d812988d9d (patch) | |
tree | 2fdf86ac431244039da96a9d46127b073ff8d6f6 /builtin/clean.c | |
parent | dir: convert prep_exclude to take an index (diff) | |
download | tgif-a0bba65b107651946431bee4c71d05d812988d9d.tar.xz |
dir: convert is_excluded to take an index
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/clean.c')
-rw-r--r-- | builtin/clean.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/clean.c b/builtin/clean.c index d861f836a2..39866afab4 100644 --- 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++; } |