From 883ac22239036025896ff99bd4b2a6d02712f39f Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Tue, 26 Oct 2010 17:55:10 +0100 Subject: cp: make --attributes-only override --reflink completely * doc/coreutils.texi (cp invocation): Change the description slightly so as users might not immediately discount using this option. Mention that --reflink is overridden by the other linking options and --attributes-only, and give an example where this might be useful. * src/copy.c (copy_internal): Bypass the reflink if --attributes-only is specifed. * tests/cp/reflink-perm: Ensure both --reflink modes are overridden by --attributes-only. * NEWS: Mention the change in behavior. Reported by Jim Meyering. --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 7dbbf1f2c..dcb974528 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,11 @@ GNU coreutils NEWS -*- outline -*- tail -F once again notices changes in a currently unavailable remote directory [bug introduced in coreutils-7.5] +** Changes in behavior + + cp --attributes-only now completely overrides --reflink. + Previously a reflink was needlessly attempted. + * Noteworthy changes in release 8.6 (2010-10-15) [stable] -- cgit v1.2.3-54-g00ecf