aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-01-24 01:41:51 +0000
committerWayne Davison <wayned@samba.org>2005-01-24 01:41:51 +0000
commit928a00c4746dafaec2181124a688006af3085551 (patch)
treeded5e427279b8e8135df2777ed66729260135044 /main.c
parentfa13f396d555adbf0caa0b9d4c104915e4aa0168 (diff)
downloadandroid_external_rsync-928a00c4746dafaec2181124a688006af3085551.tar.gz
android_external_rsync-928a00c4746dafaec2181124a688006af3085551.tar.bz2
android_external_rsync-928a00c4746dafaec2181124a688006af3085551.zip
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.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
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);