From 9b5c002811e672fe994d72a4f0cc9325a0ecffa8 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Fri, 18 Jul 2025 16:58:03 -0700 Subject: rev-list: make "struct rev_list_info" static to the only user The structure has nothing to do with what "git bisect" does; as nobody other than "git rev-list" implementation uses it, move it as a private data type to builtin/rev-list.c Signed-off-by: Junio C Hamano --- builtin/rev-list.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'builtin/rev-list.c') diff --git a/builtin/rev-list.c b/builtin/rev-list.c index 0984b607bf..2bb6360ec1 100644 --- a/builtin/rev-list.c +++ b/builtin/rev-list.c @@ -28,6 +28,14 @@ #include "quote.h" #include "strbuf.h" +struct rev_list_info { + struct rev_info *revs; + int flags; + int show_timestamp; + int hdr_termination; + const char *header_prefix; +}; + static const char rev_list_usage[] = "git rev-list [] ... [--] [...]\n" "\n" -- cgit 1.2.3-korg