summaryrefslogtreecommitdiff
path: root/ls-refs.c
diff options
context:
space:
mode:
authorLibravatar Jacob Vosmaer <jacob@gitlab.com>2021-09-01 14:54:41 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-01 10:20:39 -0700
commit96328398b3803c96f6a91edc39ccebd4bb9dd12c (patch)
tree66665c9a45b013b17f680224eab183301736045c /ls-refs.c
parentThe first batch post 2.33 (diff)
downloadtgif-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 'ls-refs.c')
0 files changed, 0 insertions, 0 deletions