瀏覽代碼

(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)