diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2016-10-21 14:26:09 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-10-21 09:32:35 -0700 |
commit | f56fffef9a36b46a1ab2f377c2dd84701e36855a (patch) | |
tree | 1029edb53c136c4c12c4a62924daa51a025b125d /fetch-pack.h | |
parent | sequencer: refactor write_message() to take a pointer/length (diff) | |
download | tgif-f56fffef9a36b46a1ab2f377c2dd84701e36855a.tar.xz |
sequencer: teach write_message() to append an optional LF
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 the end of the file.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-pack.h')
0 files changed, 0 insertions, 0 deletions