X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fcreate.c;h=e8de6b92463708620ed2abc937f24550d3b5020a;hb=065cf0958c39600f2062cbeeb5b76929d03c207b;hp=a1e90a33679f12b0119953cbf465d64bd1e21eb5;hpb=2a55b4b0373eef2e879408f9df6638bb03e16170;p=chaz%2Ftar diff --git a/src/create.c b/src/create.c index a1e90a3..e8de6b9 100644 --- a/src/create.c +++ b/src/create.c @@ -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)))