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
(from parent 1:
598c409
)
One minor tweak to the --delete-before option-passing code.
author
Wayne Davison
<wayned@samba.org>
Fri, 28 Jan 2005 07:50:00 +0000
(07:50 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 28 Jan 2005 07:50:00 +0000
(07:50 +0000)
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/options.c
index
365d3ac
..
0819309
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-1223,7
+1223,7
@@
void server_options(char **args,int *argc)
args[ac++] = "--delete-excluded";
else if (delete_before == 1 || delete_after)
args[ac++] = "--delete";
- if (delete_before
== 2
)
+ if (delete_before
> 1
)
args[ac++] = "--delete-before";
if (delete_during)
args[ac++] = "--delete-during";