diff options
Diffstat (limited to 'list-objects.c')
-rw-r--r-- | list-objects.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/list-objects.c b/list-objects.c index 2a139b6ced..11732d9388 100644 --- a/list-objects.c +++ b/list-objects.c @@ -81,10 +81,10 @@ static void process_tree(struct rev_info *revs, die("bad tree object"); if (obj->flags & (UNINTERESTING | SEEN)) return; - if (parse_tree(tree) < 0) { + if (parse_tree_gently(tree, revs->ignore_missing_links) < 0) { if (revs->ignore_missing_links) return; - die("bad tree object %s", sha1_to_hex(obj->sha1)); + die("bad tree object %s", oid_to_hex(&obj->oid)); } obj->flags |= SEEN; show(obj, path, name, cb_data); @@ -229,7 +229,7 @@ void traverse_commit_list(struct rev_info *revs, continue; } die("unknown pending object %s (%s)", - sha1_to_hex(obj->sha1), name); + oid_to_hex(&obj->oid), name); } object_array_clear(&revs->pending); strbuf_release(&base); |