Re: [PATCH 00/22] Refactor to accept NUL in commit messages
From: Junio C Hamano <hidden> Date: 2016-06-15 22:52:19
Jeff King [off-list ref] writes:
But as Duy mentions, we have an encoding header. Shouldn't we treat it
like binary goo until we do reencode_log_message, and _then_ we can
break it into lines?
That's sensible. If we go that route, I think the "one allocation of
separate struct commit_buffer pointed from a pointer field in struct
commit to replace the current member 'buffer'" is a reasonable thing
to do.