Commit 25cf8893 authored by Andrew Tridgell's avatar Andrew Tridgell

a hack to make listing remote sites (by leaving off a target) more

useful
parent ae682c3e
......@@ -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);
......
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