summaryrefslogtreecommitdiff
path: root/Git/CatFile.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-15 17:25:05 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-15 17:43:37 -0400
commit0b63ee6cd56f57f172695cd25b7c7ec89281ba7e (patch)
tree669a76799c46898e9dad846bb245395a234b39b6 /Git/CatFile.hs
parente1baf48d8853a5015009fe822a125192bb952222 (diff)
run git coprocesses with gitEnv
Diffstat (limited to 'Git/CatFile.hs')
-rw-r--r--Git/CatFile.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Git/CatFile.hs b/Git/CatFile.hs
index 1481bb462..2bd50592c 100644
--- a/Git/CatFile.hs
+++ b/Git/CatFile.hs
@@ -29,7 +29,7 @@ import qualified Utility.CoProcess as CoProcess
type CatFileHandle = CoProcess.CoProcessHandle
catFileStart :: Repo -> IO CatFileHandle
-catFileStart = CoProcess.start "git" . toCommand . gitCommandLine
+catFileStart = gitCoProcessStart
[ Param "cat-file"
, Param "--batch"
]