X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/9bec5286063b7e9210f945c68a738e96662a37ec..c48b22c8583f6d6c55c6a6f6001cf4fdcc20aed1:/exclude.c diff --git a/exclude.c b/exclude.c index a43a84a5..8a1dfe30 100644 --- a/exclude.c +++ b/exclude.c @@ -222,6 +222,12 @@ void send_exclude_list(int f) { int i; extern int remote_version; + extern int list_only, recurse; + + /* this is a complete hack - blame Rusty */ + if (list_only && !recurse) { + add_exclude("/*/*", 0); + } if (!exclude_list) { write_int(f,0);