list-objects: move tag processing into its own function
commit628d81be6c007de5aa0fa352b912b89f74a5cfa7
authorPatrick Steinhardt <ps@pks.im>
Fri, 9 Apr 2021 11:28:02 +0000 (9 13:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 11 Apr 2021 06:03:20 +0000 (10 23:03 -0700)
treecd0cdcdbbf94ca21205f20b01b2586a0f3785c52
parentb2025da38be94568bf046c2b8520fe87bcbb5c3d
list-objects: move tag processing into its own function

Move processing of tags into its own function to make the logic easier
to extend when we're going to implement filtering for tags. No change in
behaviour is expected from this commit.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
list-objects.c