diff options
Diffstat (limited to 'Command')
-rw-r--r-- | Command/Map.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Map.hs b/Command/Map.hs index 41beb4b92..91f4a0251 100644 --- a/Command/Map.hs +++ b/Command/Map.hs @@ -74,7 +74,7 @@ drawMap rs umap ts = Dot.graph $ repos ++ trusted ++ others hostname :: Git.Repo -> String hostname r - | Git.repoIsUrl r = Git.Url.host r + | Git.repoIsUrl r = fromMaybe (Git.repoLocation r) (Git.Url.host r) | otherwise = "localhost" basehostname :: Git.Repo -> String |