From: Junio C Hamano Date: Fri, 13 Sep 2024 21:32:17 GMT Subject: Re: [PATCH v3 2/4] builtin: remove USE_THE_REPOSITORY_VARIABLE from builtin.h Message-ID: In-Reply-To: <7becd3751fc73a51a1791427b2232fc94f1c9ae9.1726262178.git.gitgitgadget@gmail.com> "John Cai via GitGitGadget" writes: > From: John Cai > > Instead of including USE_THE_REPOSITORY_VARIABLE by default on every > builtin, remove it from builtin.h and add it to all the builtins that > reference the_repository. I'll do "reference the_repository" -> "include builtin.h" while queuing. The next step removes #define from the ones that do not reference the_repository, and because it is not empty, by definition, this step cannot be adding #define only to those that reference the_repository. > Also, remove the include statement for repository.h since it gets > brought in through builtin.h. > > The next step will be to migrate each builtin > from having to use the_repository. Thanks.