From: Junio C Hamano Date: Tue, 14 Dec 2010 17:11:15 GMT Subject: Re: [PATCH 09/19] tree-diff.c: reserve space in "base" for pathname concatenation Message-ID: <7vk4jcuvnw.fsf@alter.siamese.dyndns.org> In-Reply-To: Nguyen Thai Ngoc Duy writes: > Just googled around and found this [1]. I'm going with strbuf so it > can be reallocated if necessary. A bit tricky because "base" can be > moved, but I think it's worth it. Thanks---I was about to suggest using strbuf but you figured it out already, which is good ;-).