From c9ec460807a53af0f1e2a4c51619c473f972da19 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 14 Jul 2007 21:58:36 +0000 Subject: [PATCH] Make extra-verbose output of touch_up_dirs() only mention the dirs. --- generator.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/generator.c b/generator.c index 407a83f5..8ee5a09c 100644 --- a/generator.c +++ b/generator.c @@ -1761,15 +1761,15 @@ static void touch_up_dirs(struct file_list *flist, int ndx) * transfer and/or re-set any tweaked modified-time values. */ for (i = start; i <= end; i++, counter++) { file = flist->files[i]; + if (!S_ISDIR(file->mode)) + continue; if (verbose > 3) { fname = f_name(file, NULL); rprintf(FINFO, "touch_up_dirs: %s (%d)\n", NS(fname), i); } - if (!F_IS_ACTIVE(file) || !S_ISDIR(file->mode) - || file->flags & FLAG_MISSING_DIR) - continue; - if (!need_retouch_dir_times && file->mode & S_IWUSR) + if (!F_IS_ACTIVE(file) || file->flags & FLAG_MISSING_DIR + || (!need_retouch_dir_times && file->mode & S_IWUSR)) continue; fname = f_name(file, NULL); if (!(file->mode & S_IWUSR)) -- 2.34.1