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:
14dfad3
)
Fix list-only output of dirs w/--relative but w/o --recursive.
author
Wayne Davison
<wayned@samba.org>
Sun, 7 Oct 2007 03:29:04 +0000
(
03:29
+0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 7 Oct 2007 03:29:04 +0000
(
03:29
+0000)
generator.c
patch
|
blob
|
blame
|
history
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)
- && ((!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);