add comment
authorJim Meyering <jim@meyering.net>
Tue, 9 Jan 2001 16:12:59 +0000 (16:12 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 9 Jan 2001 16:12:59 +0000 (16:12 +0000)
src/copy.c

index 5fd5699..734271b 100644 (file)
@@ -1180,8 +1180,11 @@ copy (const char *src_path, const char *dst_path,
 
   assert (valid_options (options));
 
-  /* Record the file names: they're used in case of error,
-     when copying a directory into itself.  */
+  /* Record the file names: they're used in case of error, when copying
+     a directory into itself.  I don't like to make these tools do *any*
+     extra work in the common case when that work is solely to handle
+     exceptional cases, but in this case, I don't see a way to derive the
+     top level source and destination directory names where they're used.  */
   top_level_src_path = src_path;
   top_level_dst_path = dst_path;