Re: [PATCH 14/32] commit: write commits for both hashes
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 11, 2023, 06:25 UTC
- Message-ID
- <xmqqo7i9i5v8.fsf@gitster.g>
- In-Reply-To
- <20230908231049.2035003-14-ebiederm@xmission.com>
"Eric W. Biederman" <ebiederm@xmission.com> writes:
> + struct strbuf sig = STRBUF_INIT, compat_sig = STRBUF_INIT;
> + struct object_id *parent_buf = NULL;
> + struct object_id compat_oid = {};Ditto.
struct object_id compat_oid = { 0 };would be our zero-initialization convention.
Thanks.