From: Junio C Hamano Date: Tue, 11 Aug 2015 19:38:29 GMT Subject: Re: [PATCH v2 07/16] prepare_tempfile_object(): new function, extracted from create_tempfile() Message-ID: In-Reply-To: <29cc87f510f6bc171c3ed76767b68f67ef403223.1439198011.git.mhagger@alum.mit.edu> Michael Haggerty writes: > This makes the next step easier. > > The old code used to use "path" to set the initial length of > tempfile->filename. This was not helpful because path was usually > relative whereas the value stored to filename will be absolute. So > just initialize the length to 0. Makes sense.