aboutsummaryrefslogtreecommitdiff
path: root/Command/ReKey.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-09-25 16:07:11 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-09-25 16:07:11 -0400
commit8f29f17005f427f8c671656e90ba1610862313fb (patch)
treedd59c640d6349f8d64a80d94357e78daed38e433 /Command/ReKey.hs
parent732d9aa3a0ae7233a74e412647cbfae856b67708 (diff)
add, import, assistant: Better preserve the mtime of symlinks, when when adding content that gets deduplicated.
Note that this turned out to remove a syscall, not add any expense. Otherwise, I would not have done it.
Diffstat (limited to 'Command/ReKey.hs')
-rw-r--r--Command/ReKey.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/ReKey.hs b/Command/ReKey.hs
index d7b277fa6..7448ba97e 100644
--- a/Command/ReKey.hs
+++ b/Command/ReKey.hs
@@ -66,6 +66,6 @@ cleanup file oldkey newkey = do
-- Update symlink to use the new key.
liftIO $ removeFile file
- Command.Add.addLink file newkey True
+ Command.Add.addLink file newkey Nothing
logStatus newkey InfoPresent
return True