From: Junio C Hamano Date: Fri, 24 Feb 2023 17:59:35 GMT Subject: Re: [PATCH 03/21] serve: use repository pointer to get config Message-ID: In-Reply-To: Jeff King writes: > A few of the v2 "serve" callbacks ignore their repository parameter and > read config using the_repository (either directly or implicitly by > calling wrapper functions). This isn't a bug since the server code only > handles a single main repository anyway (and indeed, if you look at the > callers, these repository parameters will always be the_repository). But > in the long run we want to get rid of the_repository, so let's take a > tiny step in that direction. > > As a bonus, this silences some -Wunused-parameter warnings. ;-)