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

Function diff_flush_checkdiff

diff.c:6594–6605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6592}
6593
6594static void diff_flush_checkdiff(struct diff_filepair *p,
6595 struct diff_options *o)
6596{
6597 if (diff_unmodified_pair(p))
6598 return;
6599
6600 if ((DIFF_FILE_VALID(p->one) && S_ISDIR(p->one->mode)) ||
6601 (DIFF_FILE_VALID(p->two) && S_ISDIR(p->two->mode)))
6602 return; /* nothing to check in tree diffs */
6603
6604 run_checkdiff(p, o);
6605}
6606
6607int diff_queue_is_empty(struct diff_options *o)
6608{

Callers 1

flush_one_pairFunction · 0.85

Calls 2

diff_unmodified_pairFunction · 0.85
run_checkdiffFunction · 0.85

Tested by

no test coverage detected