Re: [WIP/PATCH v5 05/10] for-each-ref: introduce 'ref_array_clear()'
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 8, 2015, 17:05 UTC
- Message-ID
- <xmqq3822cer4.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <vpqbngq2mkw.fsf@anie.imag.fr>
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
Show 14 quoted lines
> Karthik Nayak <karthik.188@gmail.com> writes: > >> On 06/08/2015 08:23 PM, Matthieu Moy wrote: >>> Karthik Nayak <karthik.188@gmail.com> writes: >>> >>> > +/* Free all memory allocated for ref_array */ >>> > +void ref_array_clear(struct ref_array *array) >>> >>> Is this a private function? If so, then add static. If not, you probably >>> want to export it in a .h file. >>> >> It is in ref-filter.h. > > Ah, OK. It comes later in the series.
Confused I am; if it comes later not in the same patch then it is not OK, is it?