This commit is contained in:
Joey Hess 2011-12-09 01:57:13 -04:00
parent e3f1568e0f
commit d64132a43a
16 changed files with 25 additions and 29 deletions

View file

@ -165,7 +165,7 @@ onLocal :: Git.Repo -> Annex a -> IO a
onLocal r a = do
-- Avoid re-reading the repository's configuration if it was
-- already read.
state <- if (M.null $ Git.configMap r)
state <- if M.null $ Git.configMap r
then Annex.new r
else return $ Annex.newState r
Annex.eval state $ do