Re: [PATCH 03/11] commit-graph: avoid malloc'ing a local variable
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 15, 2025, 21:40 UTC
- Message-ID
- <xmqqv7q1y2ld.fsf@gitster.g>
- In-Reply-To
- <20250515195428.GD3320240@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> So maybe OK, but the smaller change would be to just replace the calloc > with a memset(), and s/->/./ on the subsequent lines.
True, and it would be a bit easier to merge with other topics in flight. The .oid member and parameter are both renamed IIUC.