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

Function check_pair_status

diff.c:6722–6732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6720}
6721
6722static int check_pair_status(struct diff_filepair *p)
6723{
6724 switch (p->status) {
6725 case DIFF_STATUS_UNKNOWN:
6726 return 0;
6727 case 0:
6728 die("internal error in diff-resolve-rename-copy");
6729 default:
6730 return 1;
6731 }
6732}
6733
6734static void flush_one_pair(struct diff_filepair *p, struct diff_options *opt)
6735{

Callers 3

diff_flushFunction · 0.85
compute_diffstatFunction · 0.85

Calls 1

dieFunction · 0.70

Tested by

no test coverage detected