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

Function diff_queue

diff.c:6388–6398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6386}
6387
6388struct diff_filepair *diff_queue(struct diff_queue_struct *queue,
6389 struct diff_filespec *one,
6390 struct diff_filespec *two)
6391{
6392 struct diff_filepair *dp = xcalloc(1, sizeof(*dp));
6393 dp->one = one;
6394 dp->two = two;
6395 if (queue)
6396 diff_q(queue, dp);
6397 return dp;
6398}
6399
6400void diff_free_filepair(struct diff_filepair *p)
6401{

Callers 11

diffcore_breakFunction · 0.85
merge_brokenFunction · 0.85
patch_diffFunction · 0.85
queue_diffFunction · 0.85
diff_queue_addremoveFunction · 0.85
diff_queue_changeFunction · 0.85
diff_sameFunction · 0.85
diff_unmergeFunction · 0.85
stuff_changeFunction · 0.85
cmd_diff_pairsFunction · 0.85

Calls 2

xcallocFunction · 0.85
diff_qFunction · 0.85

Tested by

no test coverage detected