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

Re: [PATCH] Don't fetch objects that exist in the local repository

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 7, 2005, 23:25 UTC
Message-ID
<Pine.LNX.4.63.0510080125210.21577@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<20051007230856.GC4989@reactrix.com>
Hi,
On Fri, 7 Oct 2005, Nick Hengeveld wrote:
Show 13 quoted lines
> On Sat, Oct 08, 2005 at 12:50:53AM +0200, Johannes Schindelin wrote:
> 
> > > Be sure not to fetch objects that already exist in the local repository.
> > 
> > Really? I seem to recall a dispute I had with Linus that this is 
> > unacceptable. He seems worried about incomplete fetches.
> 
> This patch just moved an existing check from the process queue loop to the
> appropriate places in transport-specific code to prevent the transport
> from transferring an object that appeared in the local repository after
> it was prefetched (eg. via a pack), and to make sure that all objects that
> were prefetched are subsequently fetched so the transport can perform the
> appropriate cleanup.
Ah! Okay, now I understand.

Thanks, Dscho

Previous: Nick Hengeveld
Message 4 of 4 in “Don't fetch objects that exist in the local repository”
  1. Don't fetch objects that exist in the local repositoryNick Hengeveld, Oct 7, 2005
  2. Johannes SchindelinOct 7, 2005
  3. Nick HengeveldOct 7, 2005
  4. Johannes SchindelinOct 7, 2005

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.