diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-04-07 14:59:26 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-04-07 14:59:26 -0700 |
| commit | 59063fe8b415f150eecd38c63b0171a0e8449364 (patch) | |
| tree | a7f32db8b70f45f457be2509c1a6d32e0809e232 | |
| parent | 55d867c547895b17af0093b339673c16e09a2042 (diff) | |
| parent | 753ecf42053b8afa9afcc19726635cc5a080c1bb (diff) | |
| download | git-59063fe8b415f150eecd38c63b0171a0e8449364.tar.xz | |
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 message
| -rw-r--r-- | path-walk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/path-walk.c b/path-walk.c index 2aa3e7d8a4..6e426af433 100644 --- a/path-walk.c +++ b/path-walk.c @@ -174,7 +174,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; } |
