From e78475737636a5d1e0d0a36b475c300cc7bb56cc Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 15 Jul 2011 03:12:05 -0400 Subject: hlint tweaks Did all sources except Remotes/* and Command/* --- git-union-merge.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'git-union-merge.hs') diff --git a/git-union-merge.hs b/git-union-merge.hs index 38df0df6a..e76337607 100644 --- a/git-union-merge.hs +++ b/git-union-merge.hs @@ -23,8 +23,7 @@ tmpIndex :: Git.Repo -> FilePath tmpIndex g = Git.workTree g Git.gitDir g "index.git-union-merge" setup :: Git.Repo -> IO () -setup g = do - cleanup g -- idempotency +setup g = cleanup g -- idempotency cleanup :: Git.Repo -> IO () cleanup g = do @@ -34,7 +33,7 @@ cleanup g = do parseArgs :: IO [String] parseArgs = do args <- getArgs - if (length args /= 3) + if length args /= 3 then usage else return args -- cgit v1.2.3