Re: [PATCHv2] mailmap: handle mailmap blobs without trailing newlines
From: Junio C Hamano <hidden> Date: 2016-06-15 22:58:32
Jeff King [off-list ref] writes:
This makes the code simpler and shorter (because we don't
have to correlate strchrnul with the length calculation),
correct (because the code with the off-by-one just goes
away), and more efficient (we can drop the extra allocation
we needed to create NUL-terminated strings for each line,
and just terminate in place).