From: Junio C Hamano Date: Tue, 14 Dec 2010 05:32:25 GMT Subject: Re: [PATCH 09/19] tree-diff.c: reserve space in "base" for pathname concatenation Message-ID: <7vvd2wvs0m.fsf@alter.siamese.dyndns.org> In-Reply-To: Nguyen Thai Ngoc Duy writes: > All paths should not exceed PATH_MAX, right? Your PATH_MAX may be a lot shorter than the PATH_MAX on the system I created my trees on that you are reading. Besides, you can create arbitrarily deep tree structure without busting the limit on the filesystem by writing tree objects by hand. In other words, all paths shouldn't exceed PATH_MAX, but the responsiblity to verify that is _yours_.