diff options
author | Joey Hess <joey@kitenet.net> | 2013-09-25 16:07:11 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-09-25 16:07:11 -0400 |
commit | 8f29f17005f427f8c671656e90ba1610862313fb (patch) | |
tree | dd59c640d6349f8d64a80d94357e78daed38e433 /Command/AddUrl.hs | |
parent | 732d9aa3a0ae7233a74e412647cbfae856b67708 (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/AddUrl.hs')
-rw-r--r-- | Command/AddUrl.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/AddUrl.hs b/Command/AddUrl.hs index 8ac0e342f..e767a45e0 100644 --- a/Command/AddUrl.hs +++ b/Command/AddUrl.hs @@ -189,7 +189,7 @@ cleanup url file key mtmp = do when (isJust mtmp) $ logStatus key InfoPresent setUrlPresent key url - Command.Add.addLink file key False + Command.Add.addLink file key Nothing whenM isDirect $ do void $ addAssociatedFile key file {- For moveAnnex to work in direct mode, the symlink |