diff options
Diffstat (limited to 'ui-tree.c')
-rw-r--r-- | ui-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -287,7 +287,7 @@ void cgit_print_tree(const char *rev, char *path) | |||
287 | walk_tree_ctx.curr_rev = xstrdup(rev); | 287 | walk_tree_ctx.curr_rev = xstrdup(rev); |
288 | 288 | ||
289 | if (path == NULL) { | 289 | if (path == NULL) { |
290 | ls_tree(commit->tree->object.sha1, NULL, &walk_tree_ctx); | 290 | ls_tree(commit->tree->object.oid.hash, NULL, &walk_tree_ctx); |
291 | goto cleanup; | 291 | goto cleanup; |
292 | } | 292 | } |
293 | 293 | ||