Skip to content

fix: use sender direction for itemize changes indicator - #2569

Merged
oferchen merged 1 commit into
masterfrom
fix/itemize-sender-direction
Mar 7, 2026
Merged

oferchen merged 1 commit into
masterfrom
fix/itemize-sender-direction

Conversation

@oferchen

@oferchen oferchen commented Mar 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add is_sender field to OutFormatContext to control the direction indicator in itemized output
  • Upstream rsync (log.c:704) uses < when am_sender && !am_server, > otherwise
  • Pass is_sender through to format_itemized_changes so push transfers render <f... instead of >f...
  • Defaults to false (receiver/pull direction) which is correct for local copies and pull transfers

Test plan

  • All 197 itemize tests pass
  • New test itemize_y_position_data_copied_sender_shows_less_than verifies < for sender direction
  • CI: fmt, clippy, nextest, cross-platform

Add `is_sender` field to `OutFormatContext` to control the direction
indicator in itemized output. Upstream rsync (log.c:704) uses `<` when
am_sender && !am_server, `>` otherwise. Pass this flag through to
`format_itemized_changes` so push transfers render `<f...` instead of
`>f...`.
@github-actions github-actions Bot added the bug Something isn't working label Mar 7, 2026
@oferchen
oferchen merged commit 61728d6 into master Mar 7, 2026
16 of 17 checks passed
@oferchen
oferchen deleted the fix/itemize-sender-direction branch March 7, 2026 11:28
oferchen added a commit that referenced this pull request May 1, 2026
Add `is_sender` field to `OutFormatContext` to control the direction
indicator in itemized output. Upstream rsync (log.c:704) uses `<` when
am_sender && !am_server, `>` otherwise. Pass this flag through to
`format_itemized_changes` so push transfers render `<f...` instead of
`>f...`.
oferchen added a commit that referenced this pull request May 5, 2026
Add `is_sender` field to `OutFormatContext` to control the direction
indicator in itemized output. Upstream rsync (log.c:704) uses `<` when
am_sender && !am_server, `>` otherwise. Pass this flag through to
`format_itemized_changes` so push transfers render `<f...` instead of
`>f...`.
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