From: Jim Meyering Date: Sun, 27 Aug 2006 16:29:11 +0000 (+0000) Subject: Two of those comments apply only when "moving" (not when copying). X-Git-Tag: COREUTILS-6_2~63 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a94897cfea53424289dc32ddb8efa9728561003;p=platform%2Fupstream%2Fcoreutils.git Two of those comments apply only when "moving" (not when copying). Correct them. --- diff --git a/src/copy.c b/src/copy.c index 70886b338..5b69e8ad2 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