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

Function diff_queue_clear

diff.c:6413–6419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6411}
6412
6413void diff_queue_clear(struct diff_queue_struct *q)
6414{
6415 for (int i = 0; i < q->nr; i++)
6416 diff_free_filepair(q->queue[i]);
6417 free(q->queue);
6418 diff_queue_init(q);
6419}
6420
6421const char *diff_aligned_abbrev(const struct object_id *oid, int len)
6422{

Callers 8

queue_diffsFunction · 0.85
diff_flush_patch_idFunction · 0.85
diff_flushFunction · 0.85
collect_diff_blob_oidsFunction · 0.85
process_parentFunction · 0.85

Calls 2

diff_free_filepairFunction · 0.85
diff_queue_initFunction · 0.85

Tested by

no test coverage detected