Re: Adding a 'version' command to the server
- From
- Lea Wiemann <lewiemann@gmail.com>
- Date
- Jun 28, 2008, 12:25 UTC
- Message-ID
- <48662DB0.3010608@gmail.com>
- In-Reply-To
- <20080628114337.GA3489@steel.home>
Alex Riesen wrote:
> And exactly how are the incompatibility problems avoided? By denying > the service if the versions don't match?
No, by talking to older servers in a way they understand it. So for instance it would call "git-upload-pack" instead of "git upload-pack".
(See also the SSH protocol with two versions, and I think Subversion's svnserve also somehow identifies its own capabilities and/or version.)
-- Lea