diff options
author | Joey Hess <joey@kitenet.net> | 2011-03-20 14:04:39 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-03-20 14:09:24 -0400 |
commit | 6634b6a6b84a924f6f6059b5bea61f449d056eee (patch) | |
tree | a212611adb819bd3908165a391aa312ad403ce2c /Command | |
parent | 140a351fc535235ae5714122f0c98174cbdb19ce (diff) |
imcomplete attempt at supporting lutimes(3) for BSD compat
Diffstat (limited to 'Command')
-rw-r--r-- | Command/Add.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |