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

Re: [PATCH] Fixup no-progress for fetch & clone

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 24, 2007, 01:47 UTC
Message-ID
<Pine.LNX.4.63.0702240245500.22628@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7vvehs1gxy.fsf@assigned-by-dhcp.cox.net>
Hi,
On Fri, 23 Feb 2007, Junio C Hamano wrote:
Show 12 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> 
> > Since most servers will not have a no-progress aware upload-pack, how 
> > about this? (It is slightly ugly, but at least works...)
> 
> Please no.
> 
> What's "slight" about this ugliness?
> 
> > +		if (no_progress && band != 3 && len > 7 + 5 &&
> > +				!prefixcmp(buf + 7 + len - 5, "done\r"))
> > +			continue;

This is not the part I found ugly. In sideband, there is a lot of 7+len, 8+len, buf+7.

The part I found ugly is having to touch builtin-archive.c

But I agree that we should not include that in mainline git. But at least this patch is in the open for people who care deeply about no-progress _now_...

Ciao, Dscho

Previous: Junio C HamanoNext: Nicolas Pitre
Message 5 of 16 in “Fixup no-progress for fetch & clone”
  1. Fixup no-progress for fetch & cloneJohannes Schindelin, Feb 23, 2007
  2. Junio C HamanoFeb 23, 2007
  3. Johannes SchindelinFeb 24, 2007
  4. Junio C HamanoFeb 24, 2007
  5. Johannes SchindelinFeb 24, 2007
  6. Nicolas PitreFeb 24, 2007
  7. Junio C HamanoFeb 24, 2007
  8. Johannes SchindelinFeb 24, 2007
  9. Nicolas PitreFeb 24, 2007
  10. Johannes SchindelinFeb 24, 2007
  11. Nicolas PitreFeb 24, 2007
  12. Junio C HamanoFeb 24, 2007
  13. Nicolas PitreFeb 24, 2007
  14. Junio C HamanoFeb 24, 2007
  15. Nicolas PitreFeb 24, 2007
  16. Jakub NarebskiFeb 24, 2007

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.