From b3e660504fce7ed0eab48b4e7deeeb9503318986 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 27 Oct 2011 12:58:01 -0400 Subject: avoid showing parens for empty descriptions --- Remote.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/Remote.hs b/Remote.hs index d1714f775..49fa63cf9 100644 --- a/Remote.hs +++ b/Remote.hs @@ -137,6 +137,7 @@ prettyPrintUUIDs desc uuids = do where addname d n | d == n = d + | null d = n | otherwise = n ++ " (" ++ d ++ ")" remoteMap = M.fromList . map (\r -> (uuid r, name r)) <$> genList findlog m u = M.findWithDefault "" u m -- cgit v1.2.3