Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9422bb3
)
Disable the optimization that treats include-only files as a special case
author
David Dykstra
<dwd@samba.org>
Tue, 2 Mar 1999 20:56:17 +0000
(20:56 +0000)
committer
David Dykstra
<dwd@samba.org>
Tue, 2 Mar 1999 20:56:17 +0000
(20:56 +0000)
whenever delete_mode is on. People reported problems when it kicked in
while using --delete and while using --delete-excluded.
exclude.c
patch
|
blob
|
blame
|
history
diff --git
a/exclude.c
b/exclude.c
index
66aeb67
..
ae9f8b1
100644
(file)
--- a/
exclude.c
+++ b/
exclude.c
@@
-23,6
+23,7
@@
#include "rsync.h"
extern int verbose;
+extern int delete_mode;
static struct exclude_struct **exclude_list;
@@
-41,7
+42,7
@@
int send_included_file_names(int f,struct file_list *flist)
int n;
char *p;
- if (!only_included_files || (exclude_the_rest == NULL))
+ if (!only_included_files || (exclude_the_rest == NULL)
|| delete_mode
)
return 0;
if (verbose > 1) {