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! --- CmdLine/Batch.hs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'CmdLine/Batch.hs') diff --git a/CmdLine/Batch.hs b/CmdLine/Batch.hs index 6ef21372f..82038314c 100644 --- a/CmdLine/Batch.hs +++ b/CmdLine/Batch.hs @@ -57,9 +57,7 @@ batchInput parser a = go =<< batchLines parseerr s = giveup $ "Batch input parse failure: " ++ s batchLines :: Annex [String] -batchLines = liftIO $ do - fileEncoding stdin - lines <$> getContents +batchLines = liftIO $ lines <$> getContents -- Runs a CommandStart in batch mode. -- -- cgit v1.2.3