]> Dogcows Code - chaz/tar/commitdiff
(collect_and_sort_names): Update dir_contents of the first non-fake name entry when...
authorSergey Poznyakoff <gray@gnu.org.ua>
Mon, 8 May 2006 12:10:36 +0000 (12:10 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Mon, 8 May 2006 12:10:36 +0000 (12:10 +0000)
src/names.c

index f998ffb7abe4c66c2fb25448fe48cba788059f01..d65b04f6de5ba28243a9c112e3f28132e4b3fefe 100644 (file)
@@ -787,6 +787,14 @@ collect_and_sort_names (void)
 
   for (name = namelist; name; name = name->next)
     name->found_count = 0;
+
+  if (listed_incremental_option)
+    {
+      for (name = namelist; name && name->fake; name++)
+       ;
+      if (name)
+       name->dir_contents = append_incremental_renames (name->dir_contents);
+    }
 }
 
 /* This is like name_match, except that
This page took 0.023097 seconds and 4 git commands to generate.