From 8db09feeba1f872408509b1b66a64a1145e6f1f7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 11 Jan 2021 13:14:09 -0400 Subject: [PATCH] fix format of message newlines are eaten --- Command/Trust.hs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Command/Trust.hs b/Command/Trust.hs index 9eb538de82..025c5cb899 100644 --- a/Command/Trust.hs +++ b/Command/Trust.hs @@ -44,12 +44,10 @@ trustCommand c level = withWords (commandAction . start) next $ return True trustedNeedsForce :: String -> String -trustedNeedsForce name = unlines +trustedNeedsForce name = unwords [ "Trusting a repository can lead to data loss." - , "" , "If you're sure you know what you're doing, use --force to" , "make this take effect." - , "" , "If you choose to do so, bear in mind that any time you drop" , "content from " ++ name ++ ", you will risk losing data." ] -- 2.30.2