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

Function send_batch

parallel-checkout.c:450–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448}
449
450static void send_batch(int fd, size_t start, size_t nr)
451{
452 size_t i;
453 sigchain_push(SIGPIPE, SIG_IGN);
454 for (i = 0; i < nr; i++)
455 send_one_item(fd, &parallel_checkout.items[start + i]);
456 packet_flush(fd);
457 sigchain_pop(SIGPIPE);
458}
459
460static struct pc_worker *setup_workers(struct checkout *state, int num_workers)
461{

Callers 1

setup_workersFunction · 0.85

Calls 4

sigchain_pushFunction · 0.85
send_one_itemFunction · 0.85
packet_flushFunction · 0.85
sigchain_popFunction · 0.85

Tested by

no test coverage detected