Kaynağa Gözat

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

Paul Eggert 26 yıl önce
ebeveyn
işleme
8ae9f94ce2
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  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)