From: Chris Torek Date: Mon, 21 Sep 2026 13:00:04 GMT Subject: Re: [PATCH] exec_cmd: RUNTIME_PREFIX on OpenBSD systems Message-ID: In-Reply-To: <1789994808-30642-mlmmj-3f9f948b@vger.kernel.org> [Ugh, somehow plain text mode got turned off, re-sending] On Wed, Sep 16, 2026 at 8:41 PM Brad Smith wrote: > > @@ -209,6 +229,10 @@ static int git_get_exec_path(struct strbuf *buf, const char *argv0) > * after the first successful method. > */ > if ( > +#ifdef HAVE_GETEXECPATH > + git_get_exec_path_getexecpath(buf) && > +#endif /* HAVE_GETEXECPATH */ > + > #ifdef HAVE_BSD_KERN_PROC_SYSCTL > git_get_exec_path_bsd_sysctl(buf) && > #endif /* HAVE_BSD_KERN_PROC_SYSCTL */ > -- > 2.55.0 Sort of a minor nit, but given this code construct, there should probably be instructions saying to define only one of these. Chris