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
Improved --dirs/--no-dirs/--list-only option handling:
[rsync/rsync.git]
/
main.c
diff --git
a/main.c
b/main.c
index
5985f80
..
ad4fb0a
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-1038,11
+1038,6
@@
int client_run(int f_in, int f_out, pid_t pid, int argc, char *argv[])
io_start_multiplex_out();
}
io_start_multiplex_out();
}
- if (argc == 0) {
- list_only |= 1;
- xfer_dirs |= 1;
- }
-
send_filter_list(read_batch ? -1 : f_out);
if (filesfrom_fd >= 0) {
send_filter_list(read_batch ? -1 : f_out);
if (filesfrom_fd >= 0) {
@@
-1153,8
+1148,6
@@
static int start_client(int argc, char *argv[])
static char *dotarg[1] = { "." };
p = dotarg[0];
remote_argv = dotarg;
static char *dotarg[1] = { "." };
p = dotarg[0];
remote_argv = dotarg;
- list_only |= 1;
- xfer_dirs |= 1;
}
remote_argc = 1;
}
remote_argc = 1;
@@
-1226,10
+1219,6
@@
static int start_client(int argc, char *argv[])
}
remote_argv[i] = arg;
}
}
remote_argv[i] = arg;
}
- if (argc == 0) {
- list_only |= 1;
- xfer_dirs |= 1;
- }
}
if (daemon_over_rsh < 0)
}
if (daemon_over_rsh < 0)