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-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/79fbb6f59bac50264ef0877d6eda6ef99f0515a3 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;