| 15 | static struct rev_info log_tree_opt; |
| 16 | |
| 17 | static int diff_tree_commit_oid(const struct object_id *oid) |
| 18 | { |
| 19 | struct commit *commit = lookup_commit_reference(the_repository, oid); |
| 20 | if (!commit) |
| 21 | return -1; |
| 22 | return log_tree_commit(&log_tree_opt, commit); |
| 23 | } |
| 24 | |
| 25 | /* Diff one or more commits. */ |
| 26 | static int stdin_diff_commit(struct commit *commit, const char *p) |
no test coverage detected