external protocol VERSION 2
Support VERSION 2 in the external special remote protocol, which is identical to VERSION 1, but avoids external remote programs neededing to work around the above bug. External remote program that support exporttree=yes are recommended to be updated to send VERSION 2. Sponsored-by: Kevin Mueller on Patreon
This commit is contained in:
parent
82c65b7951
commit
18d326cb6f
11 changed files with 80 additions and 73 deletions
2
Remote/External/Types.hs
vendored
2
Remote/External/Types.hs
vendored
|
@ -415,7 +415,7 @@ newtype JobId = JobId Integer
|
|||
deriving (Eq, Ord, Show)
|
||||
|
||||
supportedProtocolVersions :: [ProtocolVersion]
|
||||
supportedProtocolVersions = [1]
|
||||
supportedProtocolVersions = [1, 2]
|
||||
|
||||
instance Proto.Serializable JobId where
|
||||
serialize (JobId n) = show n
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue