MCPcopy Index your code
hub / github.com/git/git / nonstale_queue_get

Function nonstale_queue_get

commit-reach.c:65–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65static struct commit *nonstale_queue_get(struct nonstale_queue *queue)
66{
67 struct commit *commit = prio_queue_get(&queue->pq);
68
69 if (commit == queue->max_nonstale)
70 queue->max_nonstale = NULL;
71
72 return commit;
73}
74
75static void clear_nonstale_queue(struct nonstale_queue *queue)
76{

Callers 2

nonstale_queue_get_dedupFunction · 0.85
ahead_behindFunction · 0.85

Calls 1

prio_queue_getFunction · 0.85

Tested by

no test coverage detected