From 60dfbb240d4db6cb1a6f8ca9cf71400d461d8aa5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 11 May 2017 14:37:24 -0400 Subject: improve comment --- Annex/Ssh.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Annex') diff --git a/Annex/Ssh.hs b/Annex/Ssh.hs index bf13a02c4..ae14a560f 100644 --- a/Annex/Ssh.hs +++ b/Annex/Ssh.hs @@ -158,8 +158,9 @@ portParams :: Maybe Integer -> [CommandParam] portParams Nothing = [] portParams (Just port) = [Param "-p", Param $ show port] -{- Prepare to use a socket file. Locks a lock file to prevent - - other git-annex processes from stopping the ssh on this socket. -} +{- Prepare to use a socket file for ssh connection caching. + - Locks a lock file to prevent other git-annex processes from + - stopping the ssh multiplexer on this socket. -} prepSocket :: FilePath -> Annex () prepSocket socketfile = do -- If the lock pool is empty, this is the first ssh of this -- cgit v1.2.3