]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Changed a comment.
authorWayne Davison <wayned@samba.org>
Sat, 22 Jan 2005 20:27:22 +0000 (20:27 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 22 Jan 2005 20:27:22 +0000 (20:27 +0000)
exclude.c

index 86ed20a1056e196329a38ff7ade9f30de8878957..225c0e21095d7a20f5b6dfeee937d3d13b37101d 100644 (file)
--- 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) {