imcomplete attempt at supporting lutimes(3) for BSD compat
This commit is contained in:
parent
140a351fc5
commit
6634b6a6b8
2 changed files with 58 additions and 28 deletions
|
@ -58,7 +58,7 @@ cleanup file key = do
|
|||
-- touch the symlink to have the same mtime as the file it points to
|
||||
s <- liftIO $ getFileStatus file
|
||||
let mtime = modificationTime s
|
||||
liftIO $ touch file (TimeSpec mtime 0) False
|
||||
liftIO $ touch file (TimeSpec mtime) False
|
||||
|
||||
Annex.queue "add" [Param "--"] file
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue