diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2021-09-01 14:54:41 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-01 10:20:39 -0700 |
commit | 96328398b3803c96f6a91edc39ccebd4bb9dd12c (patch) | |
tree | 66665c9a45b013b17f680224eab183301736045c /sparse-index.c | |
parent | The first batch post 2.33 (diff) | |
download | tgif-96328398b3803c96f6a91edc39ccebd4bb9dd12c.tar.xz |
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 'sparse-index.c')
0 files changed, 0 insertions, 0 deletions