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) return (pid, from, to, attrs, cwd)
where where
params = params =
[ Param "check-attr" ] [ Param "check-attr"
++ map Param attrs ++ , Params "-z --stdin"
[ Params "-z --stdin" ] ] ++ map Param attrs ++
[ Param "--" ]
{- Stops git check-attr. -} {- Stops git check-attr. -}
checkAttrStop :: CheckAttrHandle -> IO () checkAttrStop :: CheckAttrHandle -> IO ()