Hello,
Here is a minimum example of the bug:
#mkdir testcp
#cd testcp
#mkdir origin
#touch origin/a
#cp -r origin destination
#cp -r origin destination
The expected result is:
#tree
├── destination
│ ├── a
└── origin
└── a
or even this, who would I be to judge:
#tree
├── destination
│ └── origin
│ └── a
└── origin
└── a
But this is unacceptable:
#tree
├── destination
│ ├── a
│ └── origin
│ └── a
└── origin
└── a
The result is worse if you add a file in between copies. Now you would have 3 a files and 2 b files.
Thank you,
Tomás