From: Wayne Davison Date: Mon, 24 Jan 2005 01:41:51 +0000 (+0000) Subject: Moved a call to add_cvs_exclude() from the delete code to one code- X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/928a00c4746dafaec2181124a688006af3085551 Moved a call to add_cvs_exclude() from the delete code to one code- path in this file. This avoids a potential duplication of the cvs-excludes that would occur in the old logic. --- diff --git a/main.c b/main.c index 086de305..c9eb5a25 100644 --- a/main.c +++ b/main.c @@ -736,6 +736,8 @@ int client_run(int f_in, int f_out, pid_t pid, int argc, char *argv[]) if (!read_batch) send_exclude_list(f_out); + if (cvs_exclude) + add_cvs_excludes(); if (filesfrom_fd >= 0) { io_set_filesfrom_fds(filesfrom_fd, f_out);