summaryrefslogtreecommitdiff
path: root/Annex/Init.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-10-11 13:29:44 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-10-11 13:29:44 -0400
commitb3e761b6cf42cb537e7e8e8db4d74b12c7dbfd8a (patch)
tree3b799f34356a5ae27371ff5d04ab6dbec39e62ad /Annex/Init.hs
parent017af7233d8d6520d1673218bcd3fadce73d2b1d (diff)
use action, not sideAction
sideAction is for things not generally related to the current action being performed. And, it adds a newline after the side action. This was not the right thing to use for stuff like "checksum", where doing a checksum is part of the git annex get process, and indeed we want it to display "(checksum...) ok"
Diffstat (limited to 'Annex/Init.hs')
-rw-r--r--Annex/Init.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Init.hs b/Annex/Init.hs
index 26502511e..03915904e 100644
--- a/Annex/Init.hs
+++ b/Annex/Init.hs
@@ -209,7 +209,7 @@ checkSharedClone = inRepo Git.Objects.isSharedClone
initSharedClone :: Bool -> Annex ()
initSharedClone False = return ()
initSharedClone True = do
- showSideAction "Repository was cloned with --shared; setting annex.hardlink=true and making repository untrusted."
+ showLongNote "Repository was cloned with --shared; setting annex.hardlink=true and making repository untrusted."
u <- getUUID
trustSet u UnTrusted
setConfig (annexConfig "hardlink") (Git.Config.boolConfig True)