aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--path-walk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/path-walk.c b/path-walk.c
index f1ceed99e9..dd2c138c98 100644
--- a/path-walk.c
+++ b/path-walk.c
@@ -171,7 +171,7 @@ static int add_tree_entries(struct path_walk_context *ctx,
if (!o) {
error(_("failed to find object %s"),
- oid_to_hex(&o->oid));
+ oid_to_hex(&entry.oid));
return -1;
}