If prune_empty_dirs is set, don't set incremental.
authorWayne Davison <wayned@samba.org>
Fri, 29 Dec 2006 14:17:21 +0000 (14:17 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 29 Dec 2006 14:17:21 +0000 (14:17 +0000)
compat.c

index f62c191..52bba80 100644 (file)
--- a/compat.c
+++ b/compat.c
@@ -146,7 +146,7 @@ void setup_protocol(int f_out,int f_in)
                }
        } else if (protocol_version >= 30) {
                if (recurse && !preserve_hard_links && !delete_before
-                && !delete_after && !delay_updates)
+                && !delete_after && !delay_updates && !prune_empty_dirs)
                        incremental = 1;
                need_messages_from_generator = 1;
        }