From 329267cb2b11da52956a86d9caec5225251a5ac1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 12 Feb 2015 15:33:05 -0400 Subject: avoid unncessary IO --- Remote/Helper/Special.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Remote/Helper') diff --git a/Remote/Helper/Special.hs b/Remote/Helper/Special.hs index bdf0ead22..9f219e8b1 100644 --- a/Remote/Helper/Special.hs +++ b/Remote/Helper/Special.hs @@ -59,7 +59,7 @@ findSpecialRemotes s = do liftIO $ mapM construct $ remotepairs m where remotepairs = M.toList . M.filterWithKey match - construct (k,_) = Git.Construct.remoteNamedFromKey k Git.Construct.fromUnknown + construct (k,_) = Git.Construct.remoteNamedFromKey k (pure Git.Construct.fromUnknown) match k _ = startswith "remote." k && endswith (".annex-"++s) k {- Sets up configuration for a special remote in .git/config. -} -- cgit v1.2.3