From: Paul Eggert Date: Sat, 17 Jul 1999 01:49:35 +0000 (+0000) Subject: (update_archive): Exclude pathnames if any of their components are excluded. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=8ae9f94ce2551752c5b8442ca34d320857c15c16;p=chaz%2Ftar (update_archive): Exclude pathnames if any of their components are excluded. --- diff --git a/src/update.c b/src/update.c index 5982b9f..211efa8 100644 --- a/src/update.c +++ b/src/update.c @@ -188,6 +188,8 @@ update_archive (void) while (path = name_from_list (), path) { + if (excluded_pathname (excluded, path)) + continue; if (interactive_option && !confirm ("add", path)) continue; if (subcommand_option == CAT_SUBCOMMAND)