summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Annex.hs1
-rw-r--r--Branch.hs2
2 files changed, 1 insertions, 2 deletions
diff --git a/Annex.hs b/Annex.hs
index 46dfc9df5..07316bd37 100644
--- a/Annex.hs
+++ b/Annex.hs
@@ -33,7 +33,6 @@ import Types.UUID
-- git-annex's monad
newtype Annex a = Annex { runAnnex :: StateT AnnexState IO a }
deriving (
- Functor,
Monad,
MonadIO,
MonadControlIO,
diff --git a/Branch.hs b/Branch.hs
index fd4ce4ced..6abf6d9c2 100644
--- a/Branch.hs
+++ b/Branch.hs
@@ -321,7 +321,7 @@ getJournalFile file = do
{- List of journal files. -}
getJournalFiles :: Annex [FilePath]
-getJournalFiles = fmap (map fileJournal) getJournalFilesRaw
+getJournalFiles = liftM (map fileJournal) getJournalFilesRaw
getJournalFilesRaw :: Annex [FilePath]
getJournalFilesRaw = do