From 6634b6a6b84a924f6f6059b5bea61f449d056eee Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 20 Mar 2011 14:04:39 -0400 Subject: imcomplete attempt at supporting lutimes(3) for BSD compat --- Command/Add.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command/Add.hs') diff --git a/Command/Add.hs b/Command/Add.hs index f6ccf0fb8..da98bffa4 100644 --- a/Command/Add.hs +++ b/Command/Add.hs @@ -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 -- cgit v1.2.3