Git fork

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 <gitster@pobox.com>

+8 -8
-8
bisect.h
··· 27 27 #define FIND_BISECTION_ALL (1u<<0) 28 28 #define FIND_BISECTION_FIRST_PARENT_ONLY (1u<<1) 29 29 30 - struct rev_list_info { 31 - struct rev_info *revs; 32 - int flags; 33 - int show_timestamp; 34 - int hdr_termination; 35 - const char *header_prefix; 36 - }; 37 - 38 30 /* 39 31 * enum bisect_error represents the following return codes: 40 32 * BISECT_OK: success code. Internally, it means that next
+8
builtin/rev-list.c
··· 28 28 #include "quote.h" 29 29 #include "strbuf.h" 30 30 31 + struct rev_list_info { 32 + struct rev_info *revs; 33 + int flags; 34 + int show_timestamp; 35 + int hdr_termination; 36 + const char *header_prefix; 37 + }; 38 + 31 39 static const char rev_list_usage[] = 32 40 "git rev-list [<options>] <commit>... [--] [<path>...]\n" 33 41 "\n"