Skip to content

fix: propagate --itemize-changes flag to remote server and enable client-mode output - #2761

Merged
oferchen merged 2 commits into
masterfrom
fix/itemize-interop
Mar 20, 2026
Merged

oferchen merged 2 commits into
masterfrom
fix/itemize-interop

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Add itemize_changes field to ClientConfig with builder setter and accessor, wiring it from CLI ConfigInputs through build_base_config()
  • Append .i info flag to build_server_flag_string() in flags.rs when itemize is requested - this propagates to both the local ServerConfig (via flag string parsing) and daemon protocol args
  • Append .i info flag to build_flag_string() in invocation/builder.rs for SSH remote invocation args

Previously, --itemize-changes / -i was parsed by the CLI and used for local output formatting, but never forwarded to the remote server during SSH or daemon transfers. The remote server never received the flag, so it never emitted itemize output as MSG_INFO frames back to the client.

Closes #1090

Test plan

  • CI passes (fmt, clippy, nextest on all platforms)
  • New unit tests verify .i flag is present/absent in both flag string builders
  • New unit tests verify builder and accessor for itemize_changes on ClientConfig
  • Interop: oc-rsync -avvi user@host:src/ dest/ produces itemize output matching upstream rsync

…ent-mode output

The --itemize-changes (-i) flag was not forwarded to the remote server
during SSH and daemon transfers. The remote server never received the
flag, so it never emitted itemize output as MSG_INFO frames.

Three changes fix this:
- Add itemize_changes field to ClientConfig with builder and accessor
- Append .i info flag to build_server_flag_string() for daemon args
  and local ServerConfig
- Append .i info flag to invocation builder build_flag_string() for
  SSH remote invocation args

Closes #1090
@github-actions github-actions Bot added the bug Something isn't working label Mar 17, 2026
@oferchen
oferchen merged commit 50cf5f9 into master Mar 20, 2026
30 of 31 checks passed
@oferchen
oferchen deleted the fix/itemize-interop branch March 20, 2026 08:16
oferchen added a commit that referenced this pull request May 1, 2026
…ent-mode output (#2761)

* fix: propagate --itemize-changes flag to remote server and enable client-mode output

The --itemize-changes (-i) flag was not forwarded to the remote server
during SSH and daemon transfers. The remote server never received the
flag, so it never emitted itemize output as MSG_INFO frames.

Three changes fix this:
- Add itemize_changes field to ClientConfig with builder and accessor
- Append .i info flag to build_server_flag_string() for daemon args
  and local ServerConfig
- Append .i info flag to invocation builder build_flag_string() for
  SSH remote invocation args

Closes #1090

* style: fix rustfmt formatting in itemize test
oferchen added a commit that referenced this pull request May 5, 2026
…ent-mode output (#2761)

* fix: propagate --itemize-changes flag to remote server and enable client-mode output

The --itemize-changes (-i) flag was not forwarded to the remote server
during SSH and daemon transfers. The remote server never received the
flag, so it never emitted itemize output as MSG_INFO frames.

Three changes fix this:
- Add itemize_changes field to ClientConfig with builder and accessor
- Append .i info flag to build_server_flag_string() for daemon args
  and local ServerConfig
- Append .i info flag to invocation builder build_flag_string() for
  SSH remote invocation args

Closes #1090

* style: fix rustfmt formatting in itemize test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant