diff options
| author | Dirk Gouders <dirk@gouders.net> | 2024-03-27 12:22:14 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-03-27 09:24:34 -0700 |
| commit | af3888890e7eda11c54f0eca96a69b8178f46bff (patch) | |
| tree | 22229119d72d9236a31fc5b83b722c72dc0876d9 /t/unit-tests/t-basic.c | |
| parent | 34e0b72b198a90a92f5b19b989bc8f0c7bfef148 (diff) | |
MyFirstObjectWalk: fix filtered object walk
Commit f0d2f84919 (MyFirstObjectWalk: update recommended usage,
2022-03-09) changed a call of parse_list_objects_filter() in a way
that probably never worked: parse_list_objects_filter() always needed
a pointer as its first argument.
Fix this by removing the CALLOC_ARRAY and passing the address of
rev->filter to parse_list_objects_filter() in accordance to
such a call in revisions.c, for example.
Signed-off-by: Dirk Gouders <dirk@gouders.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/t-basic.c')
0 files changed, 0 insertions, 0 deletions
