]> git.ipfire.org Git - thirdparty/git.git/commit - sequencer.c
sequencer: refactor write_message() to take a pointer/length
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 21 Oct 2016 12:26:05 +0000 (14:26 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Oct 2016 16:32:35 +0000 (09:32 -0700)
commit75871495e9e0012604861752d082715d9444333d
tree998955ff2dd10e96b8aab5c21b75e1206f1afe79
parent4f66c837972a69cc3520e3f7205f44e8833b941a
sequencer: refactor write_message() to take a pointer/length

Previously, we required an strbuf. But that limits the use case too much.
In the upcoming patch series (for which the current patch series prepares
the sequencer), we will want to write content to a file for which we have
a pointer and a length, not an strbuf.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c