warnings
This commit is contained in:
parent
cdcb4548b3
commit
807f8553c3
2 changed files with 4 additions and 4 deletions
|
@ -194,11 +194,11 @@ tryScan r
|
||||||
| Git.repoIsUrl r = return Nothing
|
| Git.repoIsUrl r = return Nothing
|
||||||
| otherwise = liftIO $ safely $ Git.Config.read r
|
| otherwise = liftIO $ safely $ Git.Config.read r
|
||||||
where
|
where
|
||||||
pipedconfig cmd params = liftIO $ safely $
|
pipedconfig pcmd params = liftIO $ safely $
|
||||||
withHandle StdoutHandle createProcessSuccess p $
|
withHandle StdoutHandle createProcessSuccess p $
|
||||||
Git.Config.hRead r
|
Git.Config.hRead r
|
||||||
where
|
where
|
||||||
p = proc cmd $ toCommand params
|
p = proc pcmd $ toCommand params
|
||||||
|
|
||||||
configlist = Ssh.onRemote r (pipedconfig, return Nothing) "configlist" [] []
|
configlist = Ssh.onRemote r (pipedconfig, return Nothing) "configlist" [] []
|
||||||
manualconfiglist = do
|
manualconfiglist = do
|
||||||
|
|
|
@ -24,11 +24,11 @@ seek :: CommandSeek
|
||||||
seek = trustCommand "trust" Trusted
|
seek = trustCommand "trust" Trusted
|
||||||
|
|
||||||
trustCommand :: String -> TrustLevel -> CommandSeek
|
trustCommand :: String -> TrustLevel -> CommandSeek
|
||||||
trustCommand cmd level = withWords start
|
trustCommand c level = withWords start
|
||||||
where
|
where
|
||||||
start ws = do
|
start ws = do
|
||||||
let name = unwords ws
|
let name = unwords ws
|
||||||
showStart cmd name
|
showStart c name
|
||||||
u <- Remote.nameToUUID name
|
u <- Remote.nameToUUID name
|
||||||
next $ perform u
|
next $ perform u
|
||||||
perform uuid = do
|
perform uuid = do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue