From: Johannes Schindelin Date: Thu, 02 Aug 2007 22:07:15 GMT Subject: Re: [PATCH] Handle the errors from chdir in set_work_tree Message-ID: In-Reply-To: <7v8x8ttx7y.fsf@assigned-by-dhcp.cox.net> Hi, On Thu, 2 Aug 2007, Junio C Hamano wrote: > Fix work-tree related breakages > > In set_work_tree(), variable rel needs to be reinitialized to > NULL on every call (it should not be static). > > Make sure the incoming dir variable is not too long before > copying to the temporary buffer, and make sure chdir to the > resulting directory succeeds. ACK. (Forget my patch, please) Ciao, Dscho