Files
Mradul Singh a6779f3d79 operations: fix --name-transform applied twice on update - fixes #10332
When copy, sync or move found an existing destination file, Copy and
move replaced the transformed source name with a transform of the
destination's name. That name is already transformed (it is how the
file was matched), so updates went to a doubly transformed name, e.g.
prefix-prefix-file.txt instead of prefix-file.txt.

Keep the transformed source name when --name-transform is in use and
only fall back to the destination's name when it isn't, which keeps
the existing case of a file on case-insensitive remotes as before.
TransformFile and convmv are unaffected as their dst is the source
file itself.
2026-11-18 11:28:54 +00:00
..
2026-10-13 12:08:20 +01:00