Browse Source

(update_archive): Exclude pathnames if any of their components are excluded.

Paul Eggert 26 years ago
parent
commit
8ae9f94ce2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/update.c

+ 2 - 0
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)