mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-23 08:18:04 +03:00
render CouldntOpenCodebase git error
This commit is contained in:
parent
d1ddcfef45
commit
ca16a803be
@ -662,6 +662,9 @@ notifyUser dir o = case o of
|
||||
|
||||
TodoOutput names todo -> pure (todoOutput names todo)
|
||||
GitError input e -> pure $ case e of
|
||||
CouldntOpenCodebase repo localPath -> P.wrap $ "I couldn't open the repository at"
|
||||
<> prettyRepoBranch repo <> "in the cache directory at"
|
||||
<> P.backticked' (P.string localPath) "."
|
||||
CouldntParseRootBranch repo s -> P.wrap $ "I couldn't parse the string"
|
||||
<> P.red (P.string s) <> "into a namespace hash, when opening the repository at"
|
||||
<> P.group (prettyRepoBranch repo <> ".")
|
||||
|
Loading…
Reference in New Issue
Block a user