summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 332843d6a..f66a645fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,15 @@
* Version 6.0-cvs.
+ mv -T DIR EMPTY_DIR no longer fails
+ * src/copy.c (copy_internal): Don't manually prohibit a move where
+ the destination is an existing directory. Sometimes doing that is
+ valid. Let the rename system call enforce the rules. That is
+ allowed only when the source is a directory and the destination
+ directory (to be replaced) is empty. Reported by Eric Blake.
+ * tests/mv/no-target-dir: New file/test for this.
+ * tests/mv/Makefile.am (TESTS): Add no-target-dir.
+
* tests/mv/atomic: New file/test for yesterday's fix.
* tests/mv/Makefile.am (TESTS): Add atomic.