Re: [PATCH v2 07/16] prepare_tempfile_object(): new function, extracted from create_tempfile()
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 11, 2015, 19:38 UTC
- Message-ID
- <xmqqh9o5r4y2.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <29cc87f510f6bc171c3ed76767b68f67ef403223.1439198011.git.mhagger@alum.mit.edu>
Michael Haggerty <mhagger@alum.mit.edu> writes:
Show 6 quoted lines
> 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.