From 8f29f17005f427f8c671656e90ba1610862313fb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 25 Sep 2013 16:07:11 -0400 Subject: 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. --- Command/AddUrl.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command/AddUrl.hs') 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 -- cgit v1.2.3