X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fincremen.c;h=b1b70ba41764b04049853d12834cf520d12f0254;hb=93906c238d9309f95afeddfa9ac8d7ce92351e70;hp=884d2fa2865831ad3a8ffec73aa617872324fa33;hpb=45ccda119355a1087450039a250359c1d0de0d08;p=chaz%2Ftar diff --git a/src/incremen.c b/src/incremen.c index 884d2fa..b1b70ba 100644 --- a/src/incremen.c +++ b/src/incremen.c @@ -734,6 +734,8 @@ scan_directory (struct tar_stat_info *st) if (! dirp) savedir_error (dir); + info_attach_exclist (st); + tmp = xstrdup (dir); zap_slashes (tmp); @@ -762,7 +764,7 @@ scan_directory (struct tar_stat_info *st) if (*entry == 'I') /* Ignored entry */ *entry = 'N'; - else if (excluded_name (full_name)) + else if (excluded_name (full_name, st)) *entry = 'N'; else {