summaryrefslogtreecommitdiff
path: root/t/unit-tests/lib-oid.c
diff options
context:
space:
mode:
authorJustin Tobler <jltobler@gmail.com>2025-03-19 13:34:06 -0500
committerJunio C Hamano <gitster@pobox.com>2025-03-21 03:40:02 -0700
commit1481e291129de8c9be8f85cee55071ce9dbc6e91 (patch)
tree7aee8323efb78d9d603735735b8f6317cd7a9343 /t/unit-tests/lib-oid.c
parent87a0bdbf0f72b7561f3cd50636eee33dcb7dbcc3 (diff)
rev-list: inline `show_object_with_name()` in `show_object()`
The `show_object_with_name()` function only has a single call site. Inline call to `show_object_with_name()` in `show_object()` so the explicit function can be cleaned up and live closer to where it is used. While at it, factor out the code that prints the OID and newline for both objects with and without a name. In a subsequent commit, `show_object()` is modified to support printing object information in a NUL-delimited format. Signed-off-by: Justin Tobler <jltobler@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/lib-oid.c')
0 files changed, 0 insertions, 0 deletions