From: Shawn Pearce Date: Thu, 28 Dec 2006 01:28:00 GMT Subject: Re: [PATCH 1/6] gitweb: Separate HTTP header output Message-ID: <20061228012800.GA16612@spearce.org> In-Reply-To: <7v7iwc4xu9.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > which means it does not omit generating the body anyway no > matter what "sub http_header" did... > > Or is there some Perl magic that makes a return from sub named > *_header magically terminate the execution of the caller? No magic. Bad patch. Your assessment of the patch is correct; it is not avoiding the body generation for a HEAD request. -- Shawn.