]> Dogcows Code - chaz/tar/blobdiff - src/create.c
* src/names.c: tar: fix bug with --one-file-system --listed-incremental
[chaz/tar] / src / create.c
index a1e90a33679f12b0119953cbf465d64bd1e21eb5..e8de6b92463708620ed2abc937f24550d3b5020a 100644 (file)
@@ -1678,9 +1678,9 @@ dump_file0 (struct tar_stat_info *st, char const *name, char const *p)
      put in the archive.
 
      This check is omitted if incremental_option is set *and* the
-     requested file is not explicitely listed in the command line. */
+     requested file is not explicitly listed in the command line.  */
 
-  if (!(incremental_option && !is_individual_file (p))
+  if (! (incremental_option && ! top_level)
       && !S_ISDIR (st->stat.st_mode)
       && OLDER_TAR_STAT_TIME (*st, m)
       && (!after_date_option || OLDER_TAR_STAT_TIME (*st, c)))
This page took 0.025191 seconds and 4 git commands to generate.