Don't force the whole-file option when using read-batch.
authorWayne Davison <wayned@samba.org>
Wed, 5 May 2004 16:23:49 +0000 (16:23 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 5 May 2004 16:23:49 +0000 (16:23 +0000)
generator.c

index b233e0b..f046efb 100644 (file)
@@ -213,7 +213,7 @@ static BOOL disable_deltas_p(void)
 {
        if (whole_file > 0)
                return True;
-       if (whole_file == 0 || write_batch)
+       if (whole_file == 0 || write_batch || read_batch)
                return False;
        return local_server;
 }