sshopts is never going to be null; the concat of it may be
This commit is contained in:
parent
39b876e096
commit
3c971c414e
1 changed files with 2 additions and 2 deletions
|
@ -280,14 +280,14 @@ sshOptionsTo remote gc g
|
||||||
unchanged = return g
|
unchanged = return g
|
||||||
|
|
||||||
use opts = do
|
use opts = do
|
||||||
let sshopts =
|
let sshopts = concat
|
||||||
[ opts
|
[ opts
|
||||||
, map Param (remoteAnnexSshOptions gc)
|
, map Param (remoteAnnexSshOptions gc)
|
||||||
]
|
]
|
||||||
if null sshopts
|
if null sshopts
|
||||||
then unchanged
|
then unchanged
|
||||||
else do
|
else do
|
||||||
let val = toSshOptionsEnv (concat sshopts)
|
let val = toSshOptionsEnv sshopts
|
||||||
command <- liftIO programPath
|
command <- liftIO programPath
|
||||||
liftIO $ do
|
liftIO $ do
|
||||||
g' <- addGitEnv g sshOptionsEnv val
|
g' <- addGitEnv g sshOptionsEnv val
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue