Matt McCutchen's Web Site
/
rsync
/
rsync-patches.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The patches for 3.0.3.
[rsync/rsync-patches.git]
/
detect-renamed.diff
diff --git
a/detect-renamed.diff
b/detect-renamed.diff
index
e28ed1d
..
05d7f8e
100644
(file)
--- a/
detect-renamed.diff
+++ b/
detect-renamed.diff
@@
-117,7
+117,7
@@
diff --git a/flist.c b/flist.c
static void send_directory(int f, struct file_list *flist,
char *fbuf, int len, int flags);
static void send_directory(int f, struct file_list *flist,
char *fbuf, int len, int flags);
-@@ -22
59,6 +2301
,25 @@ struct file_list *recv_file_list(int f)
+@@ -22
81,6 +2323
,25 @@ struct file_list *recv_file_list(int f)
flist_sort_and_clean(flist, relative_paths);
flist_sort_and_clean(flist, relative_paths);
@@
-458,7
+458,7
@@
diff --git a/generator.c b/generator.c
if (do_progress && !am_server)
rprintf(FINFO, " \r");
if (do_progress && !am_server)
rprintf(FINFO, " \r");
-@@ -12
13,6 +1361
,7 @@ static void list_file_entry(struct file_struct *f)
+@@ -12
26,6 +1374
,7 @@ static void list_file_entry(struct file_struct *f)
}
}
}
}
@@
-466,7
+466,7
@@
diff --git a/generator.c b/generator.c
static int phase = 0;
static int dflt_perms;
static int phase = 0;
static int dflt_perms;
-@@ -1
484,9 +1633
,12 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
+@@ -1
502,9 +1651
,12 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
}
else if (delete_during && f_out != -1 && !phase
&& !(file->flags & FLAG_MISSING_DIR)) {
}
else if (delete_during && f_out != -1 && !phase
&& !(file->flags & FLAG_MISSING_DIR)) {
@@
-482,7
+482,7
@@
diff --git a/generator.c b/generator.c
change_local_filter_dir(fname, strlen(fname), F_DEPTH(file));
}
goto cleanup;
change_local_filter_dir(fname, strlen(fname), F_DEPTH(file));
}
goto cleanup;
-@@ -17
64,8 +1916
,14 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
+@@ -17
82,8 +1934
,14 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
goto cleanup;
}
#endif
goto cleanup;
}
#endif
@@
-498,7
+498,7
@@
diff --git a/generator.c b/generator.c
rsyserr(FERROR_XFER, stat_errno, "recv_generator: failed to stat %s",
full_fname(fname));
goto cleanup;
rsyserr(FERROR_XFER, stat_errno, "recv_generator: failed to stat %s",
full_fname(fname));
goto cleanup;
-@@ -21
42,6 +230
0,12 @@ void generate_files(int f_out, const char *local_name)
+@@ -21
82,6 +234
0,12 @@ void generate_files(int f_out, const char *local_name)
if (verbose > 2)
rprintf(FINFO, "generator starting pid=%ld\n", (long)getpid());
if (verbose > 2)
rprintf(FINFO, "generator starting pid=%ld\n", (long)getpid());
@@
-511,7
+511,7
@@
diff --git a/generator.c b/generator.c
if (delete_before && !solo_file && cur_flist->used > 0)
do_delete_pass();
if (delete_during == 2) {
if (delete_before && !solo_file && cur_flist->used > 0)
do_delete_pass();
if (delete_during == 2) {
-@@ -21
52,7 +231
6,7 @@ void generate_files(int f_out, const char *local_name)
+@@ -21
92,7 +235
6,7 @@ void generate_files(int f_out, const char *local_name)
}
do_progress = 0;
}
do_progress = 0;
@@
-520,7
+520,7
@@
diff --git a/generator.c b/generator.c
whole_file = 0;
if (verbose >= 2) {
rprintf(FINFO, "delta-transmission %s\n",
whole_file = 0;
if (verbose >= 2) {
rprintf(FINFO, "delta-transmission %s\n",
-@@ -2
191,7 +2355
,7 @@ void generate_files(int f_out, const char *local_name)
+@@ -2
234,7 +2398
,7 @@ void generate_files(int f_out, const char *local_name)
dirdev = MAKEDEV(DEV_MAJOR(devp), DEV_MINOR(devp));
} else
dirdev = MAKEDEV(0, 0);
dirdev = MAKEDEV(DEV_MAJOR(devp), DEV_MINOR(devp));
} else
dirdev = MAKEDEV(0, 0);
@@
-529,7
+529,7
@@
diff --git a/generator.c b/generator.c
} else
change_local_filter_dir(fbuf, strlen(fbuf), F_DEPTH(fp));
}
} else
change_local_filter_dir(fbuf, strlen(fbuf), F_DEPTH(fp));
}
-@@ -22
35,7 +2399
,21 @@ void generate_files(int f_out, const char *local_name)
+@@ -22
78,7 +2442
,21 @@ void generate_files(int f_out, const char *local_name)
} while ((cur_flist = cur_flist->next) != NULL);
if (delete_during)
} while ((cur_flist = cur_flist->next) != NULL);
if (delete_during)
@@
-616,7
+616,7
@@
diff --git a/rsync.yo b/rsync.yo
--compare-dest=DIR also compare received files relative to DIR
--copy-dest=DIR ... and include copies of unchanged files
--link-dest=DIR hardlink to files in DIR when unchanged
--compare-dest=DIR also compare received files relative to DIR
--copy-dest=DIR ... and include copies of unchanged files
--link-dest=DIR hardlink to files in DIR when unchanged
-@@ -14
74,6 +1475
,21 @@ Note that the use of the bf(--delete) option might get rid of any potential
+@@ -14
80,6 +1481
,21 @@ Note that the use of the bf(--delete) option might get rid of any potential
fuzzy-match files, so either use bf(--delete-after) or specify some
filename exclusions if you need to prevent this.
fuzzy-match files, so either use bf(--delete-after) or specify some
filename exclusions if you need to prevent this.
@@
-641,7
+641,7
@@
diff --git a/rsync.yo b/rsync.yo
diff --git a/util.c b/util.c
--- a/util.c
+++ b/util.c
diff --git a/util.c b/util.c
--- a/util.c
+++ b/util.c
-@@ -1
096,6 +1096
,32 @@ int handle_partial_dir(const char *fname, int create)
+@@ -1
125,6 +1125
,32 @@ int handle_partial_dir(const char *fname, int create)
return 1;
}
return 1;
}