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

This commit is contained in:
Joey Hess 2012-02-15 13:59:09 -04:00
parent e189c09195
commit c8ec0e233e

View file

@ -26,9 +26,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 ()