]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-tree.c
git: update to v2.7.0
[ps-cgit] / ui-tree.c
index d71503da1f7691329946e481434f1998eb811454..3ff2320744b584464e196a25a66fed9be38ee64f 100644 (file)
--- 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;
        }