From: Johannes Schindelin Date: Sat, 24 Feb 2007 01:47:42 GMT Subject: Re: [PATCH] Fixup no-progress for fetch & clone Message-ID: In-Reply-To: <7vvehs1gxy.fsf@assigned-by-dhcp.cox.net> Hi, On Fri, 23 Feb 2007, Junio C Hamano wrote: > Johannes Schindelin 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