From: Wayne Davison Date: Sun, 10 Apr 2005 19:44:16 +0000 (+0000) Subject: Paul's patch to improve the "not creating new ..." message X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/15164c0aa9336f5001a011a83cf4e8acb1c41799 Paul's patch to improve the "not creating new ..." message for directories. --- diff --git a/generator.c b/generator.c index b73e50a0..a4a54a05 100644 --- a/generator.c +++ b/generator.c @@ -668,7 +668,8 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, if (only_existing && statret == -1 && stat_errno == ENOENT) { /* we only want to update existing files */ if (verbose > 1) { - rprintf(FINFO, "not creating new file \"%s\"\n", + rprintf(FINFO, "not creating new %s \"%s\"\n", + S_ISDIR(file->mode) ? "directory" : "file", safe_fname(fname)); } return;