Re: [PATCH v5 22/27] sequencer: teach write_message() to append an optional LF

2016-10-23 Thread Johannes Schindelin
Hi Junio, On Fri, 21 Oct 2016, Junio C Hamano wrote: > Johannes Schindelin writes: > > > This commit prepares for future callers that will have a pointer/length > > to some text to be written that lacks an LF, yet an LF is desired. > > Instead of requiring the caller to append an LF to the buff

Re: [PATCH v5 22/27] sequencer: teach write_message() to append an optional LF

2016-10-21 Thread Junio C Hamano
Johannes Schindelin writes: > This commit prepares for future callers that will have a pointer/length > to some text to be written that lacks an LF, yet an LF is desired. > Instead of requiring the caller to append an LF to the buffer (and > potentially allocate memory to do so), the write_messag

[PATCH v5 22/27] sequencer: teach write_message() to append an optional LF

2016-10-21 Thread Johannes Schindelin
This commit prepares for future callers that will have a pointer/length to some text to be written that lacks an LF, yet an LF is desired. Instead of requiring the caller to append an LF to the buffer (and potentially allocate memory to do so), the write_message() function learns to append an LF at