Переглянути джерело

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

Paul Eggert 26 роки тому
батько
коміт
8ae9f94ce2
1 змінених файлів з 2 додано та 0 видалено
  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)