diff options
author | Joey Hess <joey@kitenet.net> | 2012-07-19 00:57:40 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-07-19 00:57:40 -0400 |
commit | 9fc94d780b7331da13597208ba37a9f4d4ab6531 (patch) | |
tree | 6572c007ac50a8086a6cdadf2c80de1fc4cc24ea /Git | |
parent | 1db7d27a451f552dbae8760e83c73b90da8114d5 (diff) |
better readProcess
Diffstat (limited to 'Git')
-rw-r--r-- | Git/Command.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Git/Command.hs b/Git/Command.hs index d7c983064..cd6c98d33 100644 --- a/Git/Command.hs +++ b/Git/Command.hs @@ -52,7 +52,7 @@ pipeRead params repo = assertLocal repo $ - strictly. -} pipeWriteRead :: [CommandParam] -> String -> Repo -> IO String pipeWriteRead params s repo = assertLocal repo $ - readProcess "git" (toCommand $ gitCommandLine params repo) s + writeReadProcess "git" (toCommand $ gitCommandLine params repo) s {- Reads null terminated output of a git command (as enabled by the -z - parameter), and splits it. -} |