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 if null sshopts
then unchanged then unchanged
else do else do
let val = toSshOptionsEnv sshopts
command <- liftIO programPath command <- liftIO programPath
liftIO $ do liftIO $ do
g' <- addGitEnv g sshOptionsEnv val g' <- addGitEnv g sshOptionsEnv
(toSshOptionsEnv sshopts)
addGitEnv g' "GIT_SSH" command addGitEnv g' "GIT_SSH" command
runSshOptions :: [String] -> String -> IO () runSshOptions :: [String] -> String -> IO ()