commit 22c0f09da0674b6b6122c7de371a1e35ade2e351 from: Stefan Sperling date: Sun Nov 22 11:20:52 2020 UTC repair gotweb build after diff api changes commit - 763f29f674ab44d78d7fa28c4aacb167eb559aee commit + 22c0f09da0674b6b6122c7de371a1e35ade2e351 blob - 34bd7e89c4679726dc8c02598ecb4e602d85347a blob + fe98a9294517fd1c072b9a28b7f9d272389c72f7 --- gotweb/gotweb.c +++ gotweb/gotweb.c @@ -2870,15 +2870,15 @@ gw_output_diff(struct gw_trans *gw_trans, struct gw_he switch (obj_type) { case GOT_OBJ_TYPE_BLOB: error = got_diff_objects_as_blobs(NULL, NULL, id1, id2, - NULL, NULL, 3, 0, gw_trans->repo, f); + NULL, NULL, 3, 0, 0, gw_trans->repo, f); break; case GOT_OBJ_TYPE_TREE: error = got_diff_objects_as_trees(NULL, NULL, id1, id2, - "", "", 3, 0, gw_trans->repo, f); + "", "", 3, 0, 0, gw_trans->repo, f); break; case GOT_OBJ_TYPE_COMMIT: - error = got_diff_objects_as_commits(NULL, NULL, id1, id2, 3, 0, - gw_trans->repo, f); + error = got_diff_objects_as_commits(NULL, NULL, id1, id2, + 3, 0, 0, gw_trans->repo, f); break; default: error = got_error(GOT_ERR_OBJ_TYPE);