aboutsummaryrefslogtreecommitdiff
path: root/Git/CheckAttr.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-02-15 13:59:09 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-02-15 14:01:06 -0400
commitf0f07db01de13a6da8f0fd50532c5cb004e82d81 (patch)
treee9bb15feee4a41509602799cb3de8770f7786373 /Git/CheckAttr.hs
parent88b3ee89689ce874b48ce8eaa7586d02d06382ab (diff)
reorder prams and put -- after atrributes, for compatability with old git
(cherry picked from commit c8ec0e233e9d47a7e69b3de2952099c221c79ac1)
Diffstat (limited to 'Git/CheckAttr.hs')
-rw-r--r--Git/CheckAttr.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/Git/CheckAttr.hs b/Git/CheckAttr.hs
index 8de19390f..696d8aafd 100644
--- a/Git/CheckAttr.hs
+++ b/Git/CheckAttr.hs
@@ -28,9 +28,10 @@ checkAttrStart attrs repo = do
return (pid, from, to, attrs, cwd)
where
params =
- [ Param "check-attr" ]
- ++ map Param attrs ++
- [ Params "-z --stdin" ]
+ [ Param "check-attr"
+ , Params "-z --stdin"
+ ] ++ map Param attrs ++
+ [ Param "--" ]
{- Stops git check-attr. -}
checkAttrStop :: CheckAttrHandle -> IO ()