| 7720 | } |
| 7721 | |
| 7722 | void diff_same(struct diff_options *options, |
| 7723 | unsigned mode, |
| 7724 | const struct object_id *oid, |
| 7725 | const char *concatpath) |
| 7726 | { |
| 7727 | struct diff_filespec *one; |
| 7728 | |
| 7729 | if (S_ISGITLINK(mode) && is_submodule_ignored(concatpath, options)) |
| 7730 | return; |
| 7731 | |
| 7732 | if (options->prefix && |
| 7733 | strncmp(concatpath, options->prefix, options->prefix_length)) |
| 7734 | return; |
| 7735 | |
| 7736 | one = alloc_filespec(concatpath); |
| 7737 | fill_filespec(one, oid, 1, mode); |
| 7738 | one->count++; |
| 7739 | diff_queue(&diff_queued_diff, one, one); |
| 7740 | } |
| 7741 | |
| 7742 | struct diff_filepair *diff_unmerge(struct diff_options *options, const char *path) |
| 7743 | { |
no test coverage detected