diff options
author | Wayne Davison <wayned@samba.org> | 2009-02-28 08:02:25 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2009-02-28 08:07:01 -0800 |
commit | 8d10cbfcb13fb20eeb34441365d8b73d4a6b0e41 (patch) | |
tree | d91390ffb00cf333e15d281547beae8f3b78b2a4 /progress.c | |
parent | e8d6fe62614f1bd21a41aa779188d9d0ec57de22 (diff) | |
download | rsync-8d10cbfcb13fb20eeb34441365d8b73d4a6b0e41.tar.gz |
Made --progress use ir-chk instead of to-chk when the incremental
recursion scan is still active. Mention the output change more
prominently in the NEWS file. Updated the --progress output in
the manpage, with mention of the new "ir-chk" string's meaning.
Diffstat (limited to 'progress.c')
-rw-r--r-- | progress.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -24,6 +24,7 @@ #include "inums.h" extern int am_server; +extern int flist_eof; extern int need_unsorted_flist; extern int output_needs_newline; extern struct stats stats; @@ -72,8 +73,8 @@ static void rprint_progress(OFF_T ofs, OFF_T size, struct timeval *now, if (is_last) { int len = snprintf(eol, sizeof eol, - " (xfr#%d, to-chk=%d/%d)\n", - stats.xferred_files, + " (xfr#%d, %s-chk=%d/%d)\n", + stats.xferred_files, flist_eof ? "to" : "ir", stats.num_files - current_file_index - 1, stats.num_files); if (INFO_GTE(PROGRESS, 2)) { |