summaryrefslogtreecommitdiff
path: root/Git/Queue.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Git/Queue.hs')
-rw-r--r--Git/Queue.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Git/Queue.hs b/Git/Queue.hs
index 25c5b073c..c71605ad5 100644
--- a/Git/Queue.hs
+++ b/Git/Queue.hs
@@ -18,8 +18,8 @@ import qualified Data.Map as M
import System.IO
import System.Cmd.Utils
import Data.String.Utils
-import Utility.SafeCommand
+import Utility.SafeCommand
import Common
import Git
import Git.Command
@@ -90,4 +90,6 @@ runAction repo action files =
where
params = toCommand $ gitCommandLine
(Param (getSubcommand action):getParams action) repo
- feedxargs h = hPutStr h $ join "\0" files
+ feedxargs h = do
+ fileEncoding h
+ hPutStr h $ join "\0" files