aboutsummaryrefslogtreecommitdiff
path: root/Command/AddUnused.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/AddUnused.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/AddUnused.hs')
-rw-r--r--Command/AddUnused.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/AddUnused.hs b/Command/AddUnused.hs
index 21a75137f..1a178e8d4 100644
--- a/Command/AddUnused.hs
+++ b/Command/AddUnused.hs
@@ -29,7 +29,7 @@ start = startUnused "addunused" perform
perform :: Key -> CommandPerform
perform key = next $ do
logStatus key InfoPresent
- Command.Add.addLink file key False
+ Command.Add.addLink file key Nothing
return True
where
file = "unused." ++ key2file key