From: Sergey Poznyakoff Date: Mon, 8 May 2006 12:10:36 +0000 (+0000) Subject: (collect_and_sort_names): Update dir_contents of the first non-fake name entry when... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=67877f7de264b23f58eb3578e6a189148aab658e;p=chaz%2Ftar (collect_and_sort_names): Update dir_contents of the first non-fake name entry when in listed incremental mode. --- diff --git a/src/names.c b/src/names.c index f998ffb..d65b04f 100644 --- a/src/names.c +++ b/src/names.c @@ -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