This commit is contained in:
Joey Hess 2015-08-04 17:07:45 -04:00
parent 3c971c414e
commit f7d7995172

View file

@ -287,10 +287,10 @@ sshOptionsTo remote gc g
if null sshopts
then unchanged
else do
let val = toSshOptionsEnv sshopts
command <- liftIO programPath
liftIO $ do
g' <- addGitEnv g sshOptionsEnv val
g' <- addGitEnv g sshOptionsEnv
(toSshOptionsEnv sshopts)
addGitEnv g' "GIT_SSH" command
runSshOptions :: [String] -> String -> IO ()