except that identical files are copied into the destination instead
of hard-linked.
---- orig/generator.c 2005-03-02 17:48:47
-+++ generator.c 2005-03-02 17:30:18
+--- orig/generator.c 2005-03-03 00:14:56
++++ generator.c 2005-03-03 00:25:59
@@ -65,6 +65,7 @@ extern int always_checksum;
extern char *partial_dir;
extern char *basis_dir[];
extern int link_dest;
extern int whole_file;
extern int local_server;
-@@ -831,6 +832,8 @@ static void recv_generator(char *fname,
+@@ -824,6 +825,8 @@ static void recv_generator(char *fname,
continue;
best_match = i;
match_level = 2;
/* FALL THROUGH */
case 2:
if (!unchanged_attrs(file, &st))
-@@ -863,7 +866,20 @@ static void recv_generator(char *fname,
+@@ -857,7 +860,20 @@ static void recv_generator(char *fname,
match_level = 2;
}
#endif
fnamecmp = fnamecmpbuf;
fnamecmp_type = i;
}
+@@ -935,11 +951,9 @@ static void recv_generator(char *fname,
+ return;
+ }
+ /* Only --compare-dest gets here. */
+- if (unchanged_attrs(file, &st)) {
+- itemize(file, statret, &st, ITEM_NO_DEST_AND_NO_UPDATE,
+- f_out, ndx);
+- return;
+- }
++ itemize(file, statret, &st, ITEM_NO_DEST_AND_NO_UPDATE,
++ f_out, ndx);
++ return;
+ }
+
+ prepare_to_open:
--- orig/options.c 2005-03-02 09:52:06
+++ options.c 2005-03-02 10:05:21
@@ -143,6 +143,7 @@ char *backup_dir = NULL;
return 0;
}
---- orig/rsync.yo 2005-03-02 08:52:45
+--- orig/rsync.yo 2005-03-02 18:01:33
+++ rsync.yo 2005-02-23 02:05:34
@@ -353,6 +353,7 @@ to the detailed description below for a
-T, --temp-dir=DIR create temporary files in directory DIR
WARNING: The file's data will be in an inconsistent state during the
transfer (and possibly afterward if the transfer gets interrupted), so you
-@@ -957,9 +958,19 @@ finds an existing file. That first disc
- and also determines if the transfer needs to happen.
+@@ -957,9 +958,19 @@ the list in the order specified), and if
+ of the em(DIR)s will be selected to try to speed up the transfer.
If em(DIR) is a relative path, it is relative to the destination directory.
-See also bf(--link-dest).