Re: [PATCH v7 3/4] receive-pack: move message generation to separate function
Junio C Hamano <gitster@pobox.com> writes:
Show 11 quoted lines
> Karthik Nayak <karthik.188@gmail.com> writes:
>
>> -static void report(struct command *commands, const struct strbuf *unpack_status)
>> +/*
>> + * Generate the response to be sent to the client invoking 'git-receive-pack(1)'.
>> + * For v2 protocol, set `detailed_report` to true, which will also add detailed
>> + * report per reference update.
>> + */
>
> The second sentence is stale and no longer matches the interface.
>
>> +static void generate_report(struct strbuf *buf, struct command *commands,
>> + const struct strbuf *unpack_status,
>> + enum report_status_version version)
>> {