summaryrefslogtreecommitdiff
path: root/exclude.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-10-07 03:52:20 +0000
committerWayne Davison <wayned@samba.org>2007-10-07 03:52:20 +0000
commitbf66c2da1438f2b6c5467912bd24dbf3431c9843 (patch)
tree4745176d9eef88889cec5bc98b9fa7d90f44e3b5 /exclude.c
parent65f6b6b0ef8684bfe7d0ab018ae10a19ddfb1d23 (diff)
downloadrsync-bf66c2da1438f2b6c5467912bd24dbf3431c9843.tar.gz
rsync-bf66c2da1438f2b6c5467912bd24dbf3431c9843.tar.bz2
rsync-bf66c2da1438f2b6c5467912bd24dbf3431c9843.zip
Got rid of some old exclude trickery for --list-only w/o -r.
Diffstat (limited to 'exclude.c')
-rw-r--r--exclude.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/exclude.c b/exclude.c
index a2618600..729cf97c 100644
--- a/exclude.c
+++ b/exclude.c
@@ -26,7 +26,6 @@ extern int verbose;
extern int am_server;
extern int am_sender;
extern int eol_nulls;
-extern int list_only;
extern int recurse;
extern int io_error;
extern int local_server;
@@ -1215,11 +1214,6 @@ void send_filter_list(int f_out)
parse_rule(&filter_list, "-C", 0, 0);
}
- /* This is a complete hack - blame Rusty. FIXME!
- * Remove this hack when older rsyncs (below 2.6.4) are gone. */
- if (list_only == 1 && !recurse)
- parse_rule(&filter_list, "/*/*", MATCHFLG_NO_PREFIXES, 0);
-
send_rules(f_out, &filter_list);
if (f_out >= 0)