Decided that the '<' and '>' output in the %i format were
authorWayne Davison <wayned@samba.org>
Sun, 27 Mar 2005 05:32:36 +0000 (05:32 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 27 Mar 2005 05:32:36 +0000 (05:32 +0000)
the opposite of what they should be.

log.c
rsync.yo

diff --git a/log.c b/log.c
index f81c8af..b09b334 100644 (file)
--- a/log.c
+++ b/log.c
@@ -442,7 +442,7 @@ static void log_formatted(enum logcode code, char *format, char *op,
                        n[0] = iflags & ITEM_LOCAL_CHANGE
                              ? iflags & ITEM_XNAME_FOLLOWS ? 'h' : 'c'
                             : !(iflags & ITEM_TRANSFER) ? '.'
                        n[0] = iflags & ITEM_LOCAL_CHANGE
                              ? iflags & ITEM_XNAME_FOLLOWS ? 'h' : 'c'
                             : !(iflags & ITEM_TRANSFER) ? '.'
-                            : *op == 's' ? '>' : '<';
+                            : *op == 's' ? '<' : '>';
                        n[1] = S_ISDIR(file->mode) ? 'd'
                             : IS_DEVICE(file->mode) ? 'D'
                             : S_ISLNK(file->mode) ? 'L' : 'f';
                        n[1] = S_ISDIR(file->mode) ? 'd'
                             : IS_DEVICE(file->mode) ? 'D'
                             : S_ISLNK(file->mode) ? 'L' : 'f';
index 6828e36..1939caf 100644 (file)
--- a/rsync.yo
+++ b/rsync.yo
@@ -1059,10 +1059,10 @@ modified.
 The update types that replace the bf(U) are as follows:
 
 quote(itemize(
 The update types that replace the bf(U) are as follows:
 
 quote(itemize(
-  it() A bf(<) means that a file is being transferred to the local host
-  (received).
-  it() A bf(>) means that a file is being transferred to the remote host
+  it() A bf(<) means that a file is being transferred to the remote host
   (sent).
   (sent).
+  it() A bf(>) means that a file is being transferred to the local host
+  (received).
   it() A bf(c) means that a local change/creation is occuring for the item
   (such as the creation of a directory or the changing of a symlink, etc.).
   it() A bf(h) means that the item is a hard-link to another item (requires
   it() A bf(c) means that a local change/creation is occuring for the item
   (such as the creation of a directory or the changing of a symlink, etc.).
   it() A bf(h) means that the item is a hard-link to another item (requires