]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cp --reflink: preserve attributes on cloned files if asked
authorPádraig Brady <P@draigBrady.com>
Fri, 28 Aug 2009 23:45:15 +0000 (00:45 +0100)
committerPádraig Brady <P@draigBrady.com>
Sat, 29 Aug 2009 00:37:05 +0000 (01:37 +0100)
commit9e59f8c47ca1d8421efdd930db90fee075557d74
treebc6bd76eb846eab0ffe6d2e829fd8d490b45aec9
parent72f98388c36676e5c9ba6a72df5693c207862204
cp --reflink: preserve attributes on cloned files if asked

* src/copy.c (copy_reg): When cloning only skip the data copying
* tests/cp/reflink-perm: New test to check times and modes copied
* tests/Makefile.am: Reference the new test
* NEWS: Mention the fix
NEWS
src/copy.c
tests/Makefile.am
tests/cp/reflink-perm [new file with mode: 0755]