aboutsummaryrefslogtreecommitdiff
path: root/CmdLine
diff options
context:
space:
mode:
Diffstat (limited to 'CmdLine')
-rw-r--r--CmdLine/Batch.hs4
1 files changed, 1 insertions, 3 deletions
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.
--