aboutsummaryrefslogtreecommitdiff
path: root/Command/Trust.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Trust.hs')
-rw-r--r--Command/Trust.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/Trust.hs b/Command/Trust.hs
index a40c8dccc..3fbff68b8 100644
--- a/Command/Trust.hs
+++ b/Command/Trust.hs
@@ -21,11 +21,11 @@ command = [Command "trust" (paramRepeating paramRemote) seek
seek :: [CommandSeek]
seek = [withString start]
-{- Marks a remote as trusted. -}
start :: CommandStartString
start name = do
- r <- Remotes.byName name
showStart "trust" name
+ Remotes.readConfigs
+ r <- Remotes.byName name
return $ Just $ perform r
perform :: Git.Repo -> CommandPerform