From 5ed353a881ed9c360933c8ba8e4ca368ba8ab058 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 21 Oct 2007 16:50:31 +0000 Subject: [PATCH] Avoid dropping a hard-linked itemized output with -ii. --- hlink.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hlink.c b/hlink.c index 6dde2cc0..3eac9301 100644 --- a/hlink.c +++ b/hlink.c @@ -346,7 +346,8 @@ int hard_link_check(struct file_struct *file, int ndx, const char *fname, continue; statret = 1; if (verbose < 2 || !stdout_format_has_i) { - itemizing = 0; + if (stdout_format_has_i < 2) + itemizing = 0; code = FNONE; if (verbose > 1 && maybe_ATTRS_REPORT) rprintf(FCLIENT, "%s is uptodate\n", fname); -- 2.34.1