Displaying 1 result from an estimated 1 matches for "maybe_log_item".
2006 May 13
2
using -v and -q together
...the same time ... for example:
$ mkdir test1
$ touch test1/foo
$ rsync-2.6.0 -avq test1 test2
$ rm -r test2
$ rsync-2.6.8 -avq test1 test2
test1/
test1/fo
$ rm -r test2
$ rsync-cvs -avq test1 test2
building file list ... test1/
test1/fo
$ rm -r test2
the new output in 2.6.8 comes from the calls to maybe_log_item() and
log_item() in send_files() ... one way to fix this would be to update the
code around that to check the 'quiet' variable:
+++ sender.c
@@
extern int verbose;
+extern int quiet;
@@ send_files()
if (!(iflags & ITEM_TRANSFER)) {
+ if (!quiet)
maybe_log_item(file,?iflags...