MCPcopy Create free account
hub / github.com/git/git / packet_flush

Function packet_flush

pkt-line.c:93–98  ·  view source on GitHub ↗

* If we buffered things up above (we don't, but we should), * we'd flush it here */

Source from the content-addressed store, hash-verified

91 * we'd flush it here
92 */
93void packet_flush(int fd)
94{
95 packet_trace("0000", 4, 1);
96 if (write_in_full(fd, "0000", 4) < 0)
97 die_errno(_("unable to write flush packet"));
98}
99
100void packet_delim(int fd)
101{

Callers 15

send_requestFunction · 0.85
find_commonFunction · 0.85
do_fetch_packFunction · 0.85
fetch_packFunction · 0.85
create_pack_fileFunction · 0.85
receive_needsFunction · 0.85
upload_packFunction · 0.85
disconnect_gitFunction · 0.85
get_remote_bundle_uriFunction · 0.85
get_remote_refsFunction · 0.85
send_batchFunction · 0.85
packet_writer_flushFunction · 0.85

Calls 3

packet_traceFunction · 0.85
write_in_fullFunction · 0.85
die_errnoFunction · 0.85

Tested by 8

pack_lineFunction · 0.68
send_split_sidebandFunction · 0.68
command_loopFunction · 0.68
packet_initializeFunction · 0.68
proc_receive_verisonFunction · 0.68
cmd__proc_receiveFunction · 0.68