summaryrefslogtreecommitdiff
path: root/Git/CheckAttr.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-02-14 04:31:39 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-02-14 04:31:39 -0400
commit8f76d66f329a9bc431f0c16da529b9573756c755 (patch)
tree55518774729bb86fc4d5da67e66973d20c8e3312 /Git/CheckAttr.hs
parentcb631ce518b715e36cb3c476d576696f0630738f (diff)
set fileEncoding on CheckAttr handles
Seemed to work without it, but this is correct.
Diffstat (limited to 'Git/CheckAttr.hs')
-rw-r--r--Git/CheckAttr.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Git/CheckAttr.hs b/Git/CheckAttr.hs
index 669a9c54e..8de19390f 100644
--- a/Git/CheckAttr.hs
+++ b/Git/CheckAttr.hs
@@ -23,6 +23,8 @@ checkAttrStart attrs repo = do
cwd <- getCurrentDirectory
(pid, from, to) <- hPipeBoth "git" $ toCommand $
gitCommandLine params repo
+ fileEncoding from
+ fileEncoding to
return (pid, from, to, attrs, cwd)
where
params =