git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Adding a 'version' command to the server

From
LWLea 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
Previous: Alex RiesenNext: Shawn O. Pearce
Message 7 of 8 in “git@vger.kernel.org”
  1. Junio C HamanoJun 27, 2008
  2. Junio C HamanoJun 27, 2008
  3. Adding a 'version' command to the server (was: git@vger.kernel.org)Lea Wiemann, Jun 27, 2008
  4. Junio C HamanoJun 27, 2008
  5. Lea WiemannJun 27, 2008
  6. Alex RiesenJun 28, 2008
  7. Lea WiemannJun 28, 2008
  8. Shawn O. PearceJun 29, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.