From 3b9d9a267b7c9247d36d9b622e1b836724ca5fb0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 24 Dec 2016 14:46:31 -0400 Subject: Always use filesystem encoding for all file and handle reads and writes. This is a big scary change. I have convinced myself it should be safe. I hope! --- Config.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Config.hs') diff --git a/Config.hs b/Config.hs index be60852da..84736cac3 100644 --- a/Config.hs +++ b/Config.hs @@ -112,7 +112,7 @@ configureSmudgeFilter = do createDirectoryIfMissing True (takeDirectory lf) writeFile lf (lfs ++ "\n" ++ stdattr) where - readattr = liftIO . catchDefaultIO "" . readFileStrictAnyEncoding + readattr = liftIO . catchDefaultIO "" . readFileStrict stdattr = unlines [ "* filter=annex" , ".* !filter" -- cgit v1.2.3