summaryrefslogtreecommitdiff
path: root/Commands.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-10-16 22:59:19 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-10-16 22:59:19 -0400
commit20b447782a974408594692c7aa6ce8bc26f87858 (patch)
tree38aa58cd3661a4d73a0facd71e8373de792ea3f3 /Commands.hs
parentc0b16e0a7306bacce96564d80911bbdb5a246847 (diff)
typo
Diffstat (limited to 'Commands.hs')
-rw-r--r--Commands.hs10
1 files changed, 5 insertions, 5 deletions
diff --git a/Commands.hs b/Commands.hs
index 67b8fe8ad..dfb3eef43 100644
--- a/Commands.hs
+++ b/Commands.hs
@@ -131,16 +131,16 @@ unannexCmd file = notinBackend file err $ \(key, backend) -> do
err = error $ "not annexed " ++ file
moveout g src = do
nocommit <- Annex.flagIsSet NoCommit
- liftIO removeFile file
- liftIO Git.run g ["rm", file]
+ liftIO $ removeFile file
+ liftIO $ Git.run g ["rm", file]
if (not nocommit)
- then liftIO Git.run g ["commit", "-m",
+ then liftIO $ Git.run g ["commit", "-m",
("git-annex unannexed " ++ file), file]
else return ()
-- git rm deletes empty directories;
-- put them back
- liftIO createDirectoryIfMissing True (parentDir file)
- liftIO renameFile src file
+ liftIO $ createDirectoryIfMissing True (parentDir file)
+ liftIO $ renameFile src file
return ()
{- Gets an annexed file from one of the backends. -}