Re: [PATCH] Handle the errors from chdir in set_work_tree
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 2, 2007, 22:07 UTC
- Message-ID
- <Pine.LNX.4.64.0708022306530.14781@racer.site>
- In-Reply-To
- <7v8x8ttx7y.fsf@assigned-by-dhcp.cox.net>
Hi,
On Thu, 2 Aug 2007, Junio C Hamano wrote:
Show 8 quoted lines
> 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