* NEWS: cp -r --backup dir1 dir2, would rename an existing dir1/dir2
authorJim Meyering <jim@meyering.net>
Sat, 14 Oct 2006 05:20:27 +0000 (05:20 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 14 Oct 2006 05:20:27 +0000 (05:20 +0000)
commit0dc7f789861bedfa74639b89be8c3c4e8b3b6490
treea10e74951ace317aacfad47febcc83e566fa31d0
parent779168820b3a002ead47e2ad79e15ab68018fc0b
* NEWS: cp -r --backup dir1 dir2, would rename an existing dir1/dir2
to dir1/dir2~.
* src/copy.c (copy_internal): Although we do create a backup of each
destination directory when in move mode, don't do that when copying.
Reported by Peter Breitenlohner, in
<http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/8616>.
* tests/cp/backup-dir: New file.  Test for the above.
ChangeLog
NEWS
src/copy.c
tests/cp/backup-dir [new file with mode: 0755]