Commit 5ed353a8 authored by Wayne Davison's avatar Wayne Davison

Avoid dropping a hard-linked itemized output with -ii.

parent c126e66e
...@@ -346,7 +346,8 @@ int hard_link_check(struct file_struct *file, int ndx, const char *fname, ...@@ -346,7 +346,8 @@ int hard_link_check(struct file_struct *file, int ndx, const char *fname,
continue; continue;
statret = 1; statret = 1;
if (verbose < 2 || !stdout_format_has_i) { if (verbose < 2 || !stdout_format_has_i) {
itemizing = 0; if (stdout_format_has_i < 2)
itemizing = 0;
code = FNONE; code = FNONE;
if (verbose > 1 && maybe_ATTRS_REPORT) if (verbose > 1 && maybe_ATTRS_REPORT)
rprintf(FCLIENT, "%s is uptodate\n", fname); rprintf(FCLIENT, "%s is uptodate\n", fname);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment