Lines Matching refs:id2
158 struct got_object_id *id2, const char *label1, const char *label2,
294 diff_modified_blob(struct got_object_id *id1, struct got_object_id *id2,
312 err = got_object_open(&obj2, repo, id2);
328 err = cb(cb_arg, blob1, blob2, id1, id2, label1, label2, mode1, mode2,
398 diff_modified_tree(struct got_object_id *id1, struct got_object_id *id2,
417 err = got_object_open(&treeobj2, repo, id2);
482 diff_kind_mismatch(struct got_object_id *id1, struct got_object_id *id2,
573 struct got_object_id *id2, const char *label1, const char *label2,
594 else if (id2 == NULL)
597 if (got_object_id_cmp(id1, id2) != 0)
705 got_diff_objects_as_blobs(struct got_object_id *id1, struct got_object_id *id2,
712 if (id1 == NULL && id2 == NULL)
720 if (id2) {
721 err = got_object_open_as_blob(&blob2, repo, id2, 8192);
736 got_diff_objects_as_trees(struct got_object_id *id1, struct got_object_id *id2,
744 if (id1 == NULL && id2 == NULL)
752 if (id2) {
753 err = got_object_open_as_tree(&tree2, repo, id2);
772 struct got_object_id *id2, int diff_context, int ignore_whitespace,
778 if (id2 == NULL)
787 err = got_object_open_as_commit(&commit2, repo, id2);