mirror of
https://github.com/badlogic/rsync-win.git
synced 2026-04-26 20:45:52 +03:00
[PR #1] [MERGED] Allow passing through unknown rsync arguments #1
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rsync-win#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/badlogic/rsync-win/pull/1
Author: @badlogic
Created: 2/12/2026
Status: ✅ Merged
Merged: 2/12/2026
Merged by: @badlogic
Base:
master← Head:passthrough-unknown-args📝 Commits (1)
c506c7dAllow passing through unknown rsync arguments📊 Changes
1 file changed (+78 additions, -1 deletions)
View changed files
📝
src/main.rs(+78 -1)📄 Description
This allows rsync-win to act as a transparent wrapper by passing through any arguments it doesn't explicitly recognize to the underlying rsync binary.
Problem: Previously, clap would reject unknown arguments (like
--no-group) with an error, even though the underlying cygwin rsync supports them.Solution:
This means users can use any rsync flag without needing to update rsync-win, making it truly transparent except for path conversion and SSH setup.
Fixes issues where users need rsync flags that aren't explicitly defined in the Args struct (e.g.,
--no-group,--no-owner, etc.).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.