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

Re: rsync deprecated?

From
Markus Heidelberg <markus.heidelberg@web.de>
Date
Dec 18, 2008, 04:13 UTC
Message-ID
<200812180513.51107.markus.heidelberg@web.de>
In-Reply-To
<7vljuei2xw.fsf@gitster.siamese.dyndns.org>
Junio C Hamano, 18.12.2008:
Show 10 quoted lines
> Markus Heidelberg <markus.heidelberg@web.de> writes:
> 
> > in the "Merging external work" section of the gitcore-tutorial it is
> > stated that the rsync transport is deprecated. The description was added
> > in commit 914328a (Update tutorial., 2005-08-30) together with the
> > "deprecated" note. Having never heard/read this before and since this
> > commit is quite old, I wonder if it is still the case or there was a
> > solution for this problem.
> 
> Sorry, I do not quite understand what you perceive as "this problem".
The problem described in the rsync section in gitcore-tutorial: 
  "can produce unexpected results when you download from the public
  repository while the repository owner is uploading into it via rsync
  transport. Most notably, it could update the files under refs/ which
  holds the object name of the topmost commits before uploading the
  files in objects/ - the downloader would obtain head commit object
  name while that object itself is still not available in the
  repository."

I only thought about git itself uploading into and downloading from the repository with push and fetch, respectively. And wondered where the problem with the order of refs and objects was. But I just realized, it can of course be uploaded with plain rsync, too.

> It has been deprecated for too long a time.  Maybe it is time to remove
> the support, instead of carrying the deprecated command forever?  Is that
> the problem you are talking about?

Yes, this is the answer to my question. I thought maybe it's not deprecated anymore, because the only place where it is called so, is gitcore-tutorial.

Previous: Junio C HamanoNext: Mike Hommey
Message 3 of 7 in “rsync deprecated?”
  1. Markus HeidelbergDec 17, 2008
  2. Junio C HamanoDec 18, 2008
  3. Markus HeidelbergDec 18, 2008
  4. Mike HommeyDec 20, 2008
  5. demerphqDec 20, 2008
  6. Miklos VajnaDec 20, 2008
  7. demerphqDec 20, 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.