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

Re: [PATCH 0/4] Recovery after interrupted HTTP(s) fetch

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Sep 15, 2005, 19:02 UTC
Message-ID
<Pine.LNX.4.63.0509151458240.23242@iabervon.org>
In-Reply-To
<pan.2005.09.15.10.34.59.363606@smurf.noris.de>
On Thu, 15 Sep 2005, Matthias Urlichs wrote:
Show 15 quoted lines
> Hi, Junio C Hamano wrote:
> 
> > Daniel Barkalow <barkalow@iabervon.org> writes:
> >> Oh, right. Yeah, that's the obvious solution. I'll do that tonight.
> > 
> > Thanks.  In the meantime I have Sergey's patch in the "pu"
> > branch but we can replace it with your fix.
> 
> Personally I'd rather combine the two. The point being, broken
> repositories do happen -- for instance, when the file system is
> inconsistent after a crash, or when the referent of an info/alternates
> directory vanishes. :-/
> 
> I'd rather have a simple repair flag than do a "download everything again
> and then throw most of it away" job when something like that happens.

Agreed; but we want a new patch for --recover, because with the new code, the easy way is to skip the for_each_ref call, at which point it will just not assume you have anything.

	-Daniel
*This .sig left intentionally blank*
Previous: Matthias UrlichsNext: Junio C Hamano
Message 14 of 15 in “Recovery after interrupted HTTP(s) fetch”
  1. 0/4 Recovery after interrupted HTTP(s) fetchSergey Vlasov, Sep 14, 2005
  2. 1/4 Do not try to process objects more than once during fetchSergey Vlasov, Sep 14, 2005
  3. 2/4 git-*-fetch: Gracefully recover from retrieval failureSergey Vlasov, Sep 14, 2005
  4. 3/4 git-fetch: Add --recover optionSergey Vlasov, Sep 14, 2005
  5. 4/4 Document git-fetch optionsSergey Vlasov, Sep 14, 2005
  6. Junio C HamanoSep 14, 2005
  7. Linus TorvaldsSep 14, 2005
  8. Junio C HamanoSep 14, 2005
  9. Daniel BarkalowSep 14, 2005
  10. Linus TorvaldsSep 14, 2005
  11. Daniel BarkalowSep 14, 2005
  12. Junio C HamanoSep 14, 2005
  13. Matthias UrlichsSep 15, 2005
  14. Daniel BarkalowSep 15, 2005
  15. Junio C HamanoSep 15, 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.