summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2020-09-22 11:46:36 -0700
committerWayne Davison <wayne@opencoder.net>2020-09-22 12:48:02 -0700
commitd2a97a7ab492e0d0548708251309e077e6aa8c8b (patch)
treecc0072b19dfa2c363da5f9cfa70b43d019f74aae /options.c
parent15bc7ded398147ee50232b73c804f10aafa2fdda (diff)
downloadrsync-d2a97a7ab492e0d0548708251309e077e6aa8c8b.tar.gz
Various file comparison improvements
- Rename unchanged_file() to quick_check_ok(). - Enhance quick_check_ok() to work with non-regular files. - Add a get_file_type() function to the generator. - Use the new functions in the generator code to make the logic simpler. - Fix a bug where the `--alt-dest` functions were not checking if a special file fully matched the non-permission mode bits before deciding if we have found an alt-dest match. - Enhance the `--info=skip --ignore-existing` output to include extra info on if the existing file differs in type or passes the standard quick-check logic. - Add `--info=skip2` that authorizes rsync to perform a slow checksum "quick check" when ignoring existing files. This provides the uptodate and differs info even if we need to checksum a file to get it.
Diffstat (limited to 'options.c')
-rw-r--r--options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.c b/options.c
index 06f91098..9ffc3cf7 100644
--- a/options.c
+++ b/options.c
@@ -267,7 +267,7 @@ static struct output_struct info_words[COUNT_INFO+1] = {
INFO_WORD(NAME, W_SND|W_REC, "Mention 1) updated file/dir names, 2) unchanged names"),
INFO_WORD(PROGRESS, W_CLI, "Mention 1) per-file progress or 2) total transfer progress"),
INFO_WORD(REMOVE, W_SND, "Mention files removed on the sending side"),
- INFO_WORD(SKIP, W_REC, "Mention files that are skipped due to options used"),
+ INFO_WORD(SKIP, W_REC, "Mention files that are skipped due to options used (levels 1-2)"),
INFO_WORD(STATS, W_CLI|W_SRV, "Mention statistics at end of run (levels 1-3)"),
INFO_WORD(SYMSAFE, W_SND|W_REC, "Mention symlinks that are unsafe"),
{ NULL, "--info", 0, 0, 0, 0 }