From: phillip.wood123@gmail.com Date: Sat, 21 Sep 2024 13:23:34 GMT Subject: Re: [PATCH] submodule status: propagate SIGPIPE Message-ID: In-Reply-To: Hi Junio On 20/09/2024 21:06, Junio C Hamano wrote: > "Phillip Wood via GitGitGadget" writes: > >> diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c >> index a46ffd49b34..a8e497ef3c6 100644 >> --- a/builtin/submodule--helper.c >> +++ b/builtin/submodule--helper.c >> @@ -30,6 +30,7 @@ >> #include "advice.h" >> #include "branch.h" >> #include "list-objects-filter-options.h" >> +#include > > Do we really need this? > > As with any other Git built-in that relies on git-compat-util.h to > handle such system-dependencies, direct inclusion of system headers > like this is highly questionable. Good point - I really need to figure out how to stop emacs' lsp mode automatically adding includes. I removed its "helpful" addition of but forgot to remove as well. Thanks Phillip