From: Paul Mackerras Date: Thu, 27 Jun 1996 01:45:24 +0000 (+0000) Subject: Fix bug where the --delete option was deleting files locally which X-Git-Tag: v1.6.4~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79fbb6f59bac50264ef0877d6eda6ef99f0515a3;p=thirdparty%2Frsync.git Fix bug where the --delete option was deleting files locally which should have been ignored when the -C option was used. --- diff --git a/rsync.c b/rsync.c index 8046b705..ec23c9eb 100644 --- a/rsync.c +++ b/rsync.c @@ -450,6 +450,8 @@ static void delete_files(struct file_list *flist) char *dot="."; int i; + if (!am_server && cvs_exclude) + add_cvs_excludes(); if (!(local_file_list = send_file_list(-1,recurse,1,&dot))) return;