@@ -130,13 +130,13 @@ gitLsRemote repository mRef mBranch = do
130 (exitCode, out, _err) <- case mBranch of
130 (exitCode, out, _err) <- case mBranch of
131 Nothing -> readCreateProcessWithExitCode $ gitProcNoRepo $
131 Nothing -> readCreateProcessWithExitCode $ gitProcNoRepo $
132 ["ls-remote", "--exit-code", "--symref", repository]
132 ["ls-remote", "--exit-code", "--symref", repository]
133− ++ (maybeToList $ T.unpack . showGitRef <$> mRef)
133+ ++ maybeToList (T.unpack . showGitRef <$> mRef)
134− Just branchName -> readCreateProcessWithExitCode $ gitProcNoRepo $
134+ Just branchName -> readCreateProcessWithExitCode $ gitProcNoRepo
135 ["ls-remote", "--exit-code", repository, branchName]
135 ["ls-remote", "--exit-code", repository, branchName]
136 let t = T.pack out
136 let t = T.pack out
137 maps <- case MP.runParser parseLsRemote "" t of
137 maps <- case MP.runParser parseLsRemote "" t of
138 Left err -> failWith $ T.pack $ MP.errorBundlePretty err
138 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
140 putLog Debug $ "git ls-remote maps: " <> T.pack (show maps)
140 putLog Debug $ "git ls-remote maps: " <> T.pack (show maps)
141 pure (exitCode, maps)
141 pure (exitCode, maps)