diff options
author | Brandon Williams <bmwill@google.com> | 2017-05-05 21:53:30 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-06 12:15:39 +0200 |
commit | a0bba65b107651946431bee4c71d05d812988d9d (patch) | |
tree | 2fdf86ac431244039da96a9d46127b073ff8d6f6 /builtin/ls-files.c | |
parent | dir: convert prep_exclude to take an index (diff) | |
download | git-a0bba65b107651946431bee4c71d05d812988d9d.tar.xz git-a0bba65b107651946431bee4c71d05d812988d9d.zip |
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/ls-files.c')
-rw-r--r-- | builtin/ls-files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/ls-files.c b/builtin/ls-files.c index a6c70dbe9e..7a8c5681b6 100644 --- a/builtin/ls-files.c +++ b/builtin/ls-files.c @@ -322,7 +322,7 @@ static void show_ru_info(void) static int ce_excluded(struct dir_struct *dir, const struct cache_entry *ce) { int dtype = ce_to_dtype(ce); - return is_excluded(dir, ce->name, &dtype); + return is_excluded(dir, &the_index, ce->name, &dtype); } static void show_files(struct dir_struct *dir) |