From: Sergey Poznyakoff Date: Fri, 30 Mar 2007 19:28:22 +0000 (+0000) Subject: Restore accidentally deleted lines X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=983d328ff2800110e43285cb08b9b000fccdd569;p=chaz%2Ftar Restore accidentally deleted lines --- diff --git a/src/names.c b/src/names.c index 9cff7ed..2eb7629 100644 --- a/src/names.c +++ b/src/names.c @@ -812,6 +812,10 @@ collect_and_sort_names (void) next_name = name->next; if (name->found_count || name->dir_contents) continue; + if (name->matching_flags & EXCLUDE_WILDCARDS) + /* NOTE: EXCLUDE_ANCHORED is not relevant here */ + /* FIXME: just skip regexps for now */ + continue; chdir_do (name->change_dir); if (name->name[0] == 0) continue;