From: Wayne Davison Date: Sat, 22 Jan 2005 20:27:22 +0000 (+0000) Subject: Changed a comment. X-Git-Tag: v2.6.4pre1~379 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=353f272434cb7e2a9007ecdc5a9b234fe0f66325;p=thirdparty%2Frsync.git Changed a comment. --- diff --git a/exclude.c b/exclude.c index 86ed20a1..225c0e21 100644 --- a/exclude.c +++ b/exclude.c @@ -383,11 +383,9 @@ void send_exclude_list(int f) { struct exclude_struct *ent; - /* This is a complete hack - blame Rusty. - * - * FIXME: This pattern shows up in the output of - * report_exclude_result(), which is not ideal. */ - if (list_only && !recurse) + /* 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) add_exclude(&exclude_list, "/*/*", 0); for (ent = exclude_list.head; ent; ent = ent->next) {