]> Dogcows Code - chaz/tar/commitdiff
(update_archive): Exclude pathnames if any of their components are excluded.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 17 Jul 1999 01:49:35 +0000 (01:49 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 17 Jul 1999 01:49:35 +0000 (01:49 +0000)
src/update.c

index 5982b9ffe313976a51ed5f993144b31f9198e033..211efa8a026b060cab9754f8eb45309bd27f340a 100644 (file)
@@ -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)
This page took 0.028967 seconds and 4 git commands to generate.