| 715 | } |
| 716 | |
| 717 | void diff_tree_oid(const struct object_id *old_oid, |
| 718 | const struct object_id *new_oid, |
| 719 | const char *base_str, struct diff_options *opt) |
| 720 | { |
| 721 | struct strbuf base; |
| 722 | |
| 723 | strbuf_init(&base, PATH_MAX); |
| 724 | strbuf_addstr(&base, base_str); |
| 725 | |
| 726 | ll_diff_tree_oid(old_oid, new_oid, &base, opt); |
| 727 | if (!*base_str && opt->flags.follow_renames && diff_might_be_rename()) |
| 728 | try_to_follow_renames(old_oid, new_oid, &base, opt); |
| 729 | |
| 730 | strbuf_release(&base); |
| 731 | } |
| 732 | |
| 733 | void diff_root_tree_oid(const struct object_id *new_oid, |
| 734 | const char *base, |
no test coverage detected