Merge branch 'yc/path-walk-fix-error-reporting'
The value of a wrong pointer variable was referenced in an error message that reported that it shouldn't be NULL. * yc/path-walk-fix-error-reporting: path-walk: fix NULL pointer dereference in error messagemaint
commit
59063fe8b4
|
|
@ -174,7 +174,7 @@ static int add_tree_entries(struct path_walk_context *ctx,
|
||||||
|
|
||||||
if (!o) {
|
if (!o) {
|
||||||
error(_("failed to find object %s"),
|
error(_("failed to find object %s"),
|
||||||
oid_to_hex(&o->oid));
|
oid_to_hex(&entry.oid));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue