From c8ec0e233e9d47a7e69b3de2952099c221c79ac1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 15 Feb 2012 13:59:09 -0400 Subject: [PATCH] reorder prams and put -- after atrributes, for compatability with old git --- Git/CheckAttr.hs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Git/CheckAttr.hs b/Git/CheckAttr.hs index ea6d4b0689..fabce24f63 100644 --- a/Git/CheckAttr.hs +++ b/Git/CheckAttr.hs @@ -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 ()