From: Junio C Hamano Date: Wed, 19 Jan 2022 02:36:34 GMT Subject: Re: [PATCH v2 4/4] bisect--helper: double-check run command on exit code 126 and 127 Message-ID: In-Reply-To: <20987dc6-e0c7-6ca2-19fd-2b323b3f6d9f@web.de> > diff --git a/bisect.h b/bisect.h > index ec24ac2d7e..748adf0cff 100644 > --- a/bisect.h > +++ b/bisect.h > @@ -69,4 +69,7 @@ void read_bisect_terms(const char **bad, const char **good); > > int bisect_clean_state(void); > > +enum bisect_error bisect_checkout(const struct object_id *bisect_rev, > + int no_checkout); > + > #endif https://github.com/git/git/runs/4861805265?check_suite_focus=true#step:4:65 In file included from bisect.hcc:2:0: bisect.h:72:48: error: ‘struct object_id’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] enum bisect_error bisect_checkout(const struct object_id *bisect_rev, ^~~~~~~~~ cc1: all warnings being treated as errors