Re: Adding a 'version' command to the server (was: git@vger.kernel.org)
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Jun 28, 2008, 11:43 UTC
- Message-ID
- <20080628114337.GA3489@steel.home>
- In-Reply-To
- <486572BC.9070201@gmail.com>
Lea Wiemann, Sat, Jun 28, 2008 01:07:40 +0200:
Show 10 quoted lines
> Junio C Hamano wrote: >> It is still possible to connect to older remote end with new clients, but >> you have to explicitly ask for "git-upload-pack" by using --upload-pack= >> option when running "git fetch" > > Now that the current git won't work with older servers anyway, what > about using this opportunity to add a 'version' command to the server? > With such a command, such problems would seem to be quite easily > avoidable in the future, since the client can discriminate based on the > server's version.
And exactly how are the incompatibility problems avoided? By denying the service if the versions don't match?