Moved a call to add_cvs_exclude() from the delete code to one code-
authorWayne Davison <wayned@samba.org>
Mon, 24 Jan 2005 01:41:51 +0000 (01:41 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 24 Jan 2005 01:41:51 +0000 (01:41 +0000)
path in this file.  This avoids a potential duplication of the
cvs-excludes that would occur in the old logic.

main.c

diff --git a/main.c b/main.c
index 086de30..c9eb5a2 100644 (file)
--- 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);