Commit bf66c2da authored by Wayne Davison's avatar Wayne Davison

Got rid of some old exclude trickery for --list-only w/o -r.

parent 65f6b6b0
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment