From cc3e0770bc05a6de4af75aec45e533634bb04d2d Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 27 Mar 2005 05:32:36 +0000 Subject: [PATCH] Decided that the '<' and '>' output in the %i format were the opposite of what they should be. --- log.c | 2 +- rsync.yo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/log.c b/log.c index f81c8af2..b09b334c 100644 --- 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) ? '.' - : *op == 's' ? '>' : '<'; + : *op == 's' ? '<' : '>'; n[1] = S_ISDIR(file->mode) ? 'd' : IS_DEVICE(file->mode) ? 'D' : S_ISLNK(file->mode) ? 'L' : 'f'; diff --git a/rsync.yo b/rsync.yo index 6828e367..1939caf7 100644 --- a/rsync.yo +++ b/rsync.yo @@ -1059,10 +1059,10 @@ modified. 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). + 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 -- 2.34.1