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.
This commit is contained in:
parent
5ff9224b10
commit
98fc7e8a19
8 changed files with 40 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue