X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/6edc84bc44d55d7f90a40238ae2107913e15f54b..559ab5ecc4445c8477ecf62c9fc97efa412dd562:/ui-tree.c diff --git a/ui-tree.c b/ui-tree.c index d71503d..3ff2320 100644 --- a/ui-tree.c +++ b/ui-tree.c @@ -287,7 +287,7 @@ void cgit_print_tree(const char *rev, char *path) walk_tree_ctx.curr_rev = xstrdup(rev); if (path == NULL) { - ls_tree(commit->tree->object.sha1, NULL, &walk_tree_ctx); + ls_tree(commit->tree->object.oid.hash, NULL, &walk_tree_ctx); goto cleanup; }