From 0a94897cfea53424289dc32ddb8efa9728561003 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 27 Aug 2006 16:29:11 +0000 Subject: [PATCH] Two of those comments apply only when "moving" (not when copying). Correct them. --- src/copy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/copy.c b/src/copy.c index 70886b3..5b69e8a 100644 --- a/src/copy.c +++ b/src/copy.c @@ -1068,7 +1068,7 @@ copy_internal (char const *src_name, char const *dst_name, { if (x->move_mode && x->backup_type != no_backups) { - /* Moving/copying a directory onto an existing + /* Moving a directory onto an existing non-directory is ok only with --backup. */ } else @@ -1104,7 +1104,7 @@ copy_internal (char const *src_name, char const *dst_name, { if (x->move_mode && x->backup_type != no_backups) { - /* Moving/copying a non-directory onto an existing + /* Moving a non-directory onto an existing directory is ok only with --backup. */ } else -- 2.7.4