From 79fbb6f59bac50264ef0877d6eda6ef99f0515a3 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Thu, 27 Jun 1996 01:45:24 +0000 Subject: [PATCH] Fix bug where the --delete option was deleting files locally which should have been ignored when the -C option was used. --- rsync.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.34.1