reorder prams and put -- after atrributes, for compatability with old git

(cherry picked from commit c8ec0e233e)
This commit is contained in:
Joey Hess 2012-02-15 13:59:09 -04:00
parent 88b3ee8968
commit f0f07db01d

View file

@ -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 ()