| 6592 | } |
| 6593 | |
| 6594 | static 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 | |
| 6607 | int diff_queue_is_empty(struct diff_options *o) |
| 6608 | { |
no test coverage detected