I did the following:
- I copied folder `/somewhere/my-folder` to the same parent folder `/somewhere`, yielding `/somewhere/my-folder (copy)`.
- I pressed ctrl+Z to undo this action (and confirmed), correctly causing `/somewhere/my-folder (copy)`
- I pressed shift+ctrl+Z to redo this action.
This resulted not only in the reappearance of `/somewhere/my-folder (copy)` with the correct contents, but the file `/somewhere/my-folder/has/a/child.txt` was copied several times: I also got:
`/somewhere/my-folder (copy)/has/a/child.txt` (correct)
`/somewhere/my-folder/has (copy)/a/child.txt` (wrong)
`/somewhere/my-folder/has/a (copy)/child.txt` (wrong)
`/somewhere/my-folder/has/a/child (copy).txt` (wrong)
I did the following: my-folder` to the same parent folder `/somewhere`, yielding `/somewhere/ my-folder (copy)`. my-folder (copy)`
- I copied folder `/somewhere/
- I pressed ctrl+Z to undo this action (and confirmed), correctly causing `/somewhere/
- I pressed shift+ctrl+Z to redo this action.
This resulted not only in the reappearance of `/somewhere/ my-folder (copy)` with the correct contents, but the file `/somewhere/ my-folder/ has/a/child. txt` was copied several times: I also got: my-folder (copy)/ has/a/child. txt` (correct) my-folder/ has (copy)/a/child.txt` (wrong) my-folder/ has/a (copy)/child.txt` (wrong) my-folder/ has/a/child (copy).txt` (wrong)
`/somewhere/
`/somewhere/
`/somewhere/
`/somewhere/