aboutsummaryrefslogtreecommitdiff
path: root/GitRepo.hs
diff options
context:
space:
mode:
Diffstat (limited to 'GitRepo.hs')
-rw-r--r--GitRepo.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/GitRepo.hs b/GitRepo.hs
index 24bc9b5c2..0bee2842a 100644
--- a/GitRepo.hs
+++ b/GitRepo.hs
@@ -38,6 +38,7 @@ module GitRepo (
gitCommandLine,
run,
pipeRead,
+ pipeNullSplit,
attributes,
remotes,
remotesAdd,
@@ -412,7 +413,7 @@ typeChangedFiles' repo l middle = pipeNullSplit repo $ start ++ middle ++ end
end = [Param "--"] ++ map File l
{- Reads null terminated output of a git command (as enabled by the -z
- - parameter), and splits it into a list of files. -}
+ - parameter), and splits it into a list of files/lines/whatever. -}
pipeNullSplit :: Repo -> [CommandParam] -> IO [FilePath]
pipeNullSplit repo params = do
fs0 <- pipeRead repo params