From: Jeff King Date: Fri, 24 Nov 2006 14:57:01 GMT Subject: Re: [PATCH] git-cvsimport: add suport for CVS pserver method HTTP/1.x proxying Message-ID: <20061124145700.GA13947@coredump.intra.peff.net> In-Reply-To: <7vfyc9cjci.fsf@assigned-by-dhcp.cox.net> On Fri, Nov 24, 2006 at 12:57:49AM -0800, Junio C Hamano wrote: > + # Skip up to the empty line of the proxy server output > + # including the response headers. > + while ($rep = <$s>) { > + last if (!defined $rep || > + $rep eq "\n" || > + $rep eq "\r\n"); > + } Nit: checking defined($rep) inside the loop is redundant.