@@ -130,13 +130,13 @@ gitLsRemote repository mRef mBranch = do
130130 (exitCode, out, _err) <- case mBranch of
131131 Nothing -> readCreateProcessWithExitCode $ gitProcNoRepo $
132132 ["ls-remote", "--exit-code", "--symref", repository]
133− ++ (maybeToList $ T.unpack . showGitRef <$> mRef)
134− Just branchName -> readCreateProcessWithExitCode $ gitProcNoRepo $
133+ ++ maybeToList (T.unpack . showGitRef <$> mRef)
134+ Just branchName -> readCreateProcessWithExitCode $ gitProcNoRepo
135135 ["ls-remote", "--exit-code", repository, branchName]
136136 let t = T.pack out
137137 maps <- case MP.runParser parseLsRemote "" t of
138138 Left err -> failWith $ T.pack $ MP.errorBundlePretty err
139− Right table -> pure $ bimap M.fromList M.fromList $ partitionEithers $ table
139+ Right table -> pure $ bimap M.fromList M.fromList $ partitionEithers table
140140 putLog Debug $ "git ls-remote maps: " <> T.pack (show maps)
141141 pure (exitCode, maps)
142142