diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2021-09-01 15:54:41 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-01 20:20:39 +0300 |
commit | 96328398b3803c96f6a91edc39ccebd4bb9dd12c (patch) | |
tree | 66665c9a45b013b17f680224eab183301736045c /replace-object.c | |
parent | c4203212e360b25a1c69467b5a8437d45a373cac (diff) |
pkt-line: add stdio packet write functions
This adds three new functions to pkt-line.c: packet_fwrite,
packet_fwrite_fmt and packet_fflush. Besides writing a pktline flush
packet, packet_fflush also flushes the stdio buffer of the stream.
Helped-by: Patrick Steinhardt <ps@pks.im>
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Jacob Vosmaer <jacob@gitlab.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'replace-object.c')
0 files changed, 0 insertions, 0 deletions