diff options
Diffstat (limited to 'git-union-merge.hs')
-rw-r--r-- | git-union-merge.hs | 5 |
1 files changed, 2 insertions, 3 deletions
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 |