summaryrefslogtreecommitdiff
path: root/t/t1021-rerere-in-workdir.sh
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2016-10-21 14:26:09 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-10-21 09:32:35 -0700
commitf56fffef9a36b46a1ab2f377c2dd84701e36855a (patch)
tree1029edb53c136c4c12c4a62924daa51a025b125d /t/t1021-rerere-in-workdir.sh
parentsequencer: refactor write_message() to take a pointer/length (diff)
downloadtgif-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 't/t1021-rerere-in-workdir.sh')
0 files changed, 0 insertions, 0 deletions