improve comment

This commit is contained in:
Joey Hess 2017-05-11 14:37:24 -04:00
parent 838b55fa39
commit a6416ba232
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -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