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
Fix list-only output of dirs w/--relative but w/o --recursive.
[rsync/rsync.git]
/
generator.c
diff --git
a/generator.c
b/generator.c
index
e6e5003
..
502030a
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-1139,7
+1139,7
@@
static void recv_generator(char *fname, struct file_struct *file, int ndx,
if (list_only) {
if (S_ISDIR(file->mode)
if (list_only) {
if (S_ISDIR(file->mode)
- && ((!implied_dirs && !(file->flags & FLAG_XFER_DIR))
+ && ((
relative_paths &&
!implied_dirs && !(file->flags & FLAG_XFER_DIR))
|| (inc_recurse && ndx != cur_flist->ndx_start - 1)))
return;
list_file_entry(file);
|| (inc_recurse && ndx != cur_flist->ndx_start - 1)))
return;
list_file_entry(file);