Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mention the (anticipated) 2.6.3 release date.
[rsync/rsync.git]
/
batch.c
diff --git
a/batch.c
b/batch.c
index
4c91f82
..
a8c2176
100644
(file)
--- a/
batch.c
+++ b/
batch.c
@@
-9,8
+9,6
@@
#include <time.h>
extern char *batch_name;
#include <time.h>
extern char *batch_name;
-extern int delete_mode;
-extern int delete_excluded;
extern int eol_nulls;
extern int recurse;
extern int preserve_links;
extern int eol_nulls;
extern int recurse;
extern int preserve_links;
@@
-64,9
+62,11
@@
void read_stream_flags(int fd)
for (i = 0, flags = read_int(fd); flag_ptr[i]; i++) {
int set = flags & (1 << i) ? 1 : 0;
if (*flag_ptr[i] != set) {
for (i = 0, flags = read_int(fd); flag_ptr[i]; i++) {
int set = flags & (1 << i) ? 1 : 0;
if (*flag_ptr[i] != set) {
- rprintf(FINFO,
- "%sing the %s option to match the batchfile.\n",
- set ? "Sett" : "Clear", flag_name[i]);
+ if (verbose) {
+ rprintf(FINFO,
+ "%sing the %s option to match the batchfile.\n",
+ set ? "Sett" : "Clear", flag_name[i]);
+ }
*flag_ptr[i] = set;
}
}
*flag_ptr[i] = set;
}
}