git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/2] Remove unnecessary inclusions of parse-options.h from headers

From
Elijah Newren <newren@gmail.com>
Date
Mar 20, 2023, 16:41 UTC
Message-ID
<CABPp-BHVsxVQJrar3qc1xGCSwFXKtBmma1V4xo__8YMOi0Xc2w@mail.gmail.com>
In-Reply-To
<20230319162712.654137-1-szeder.dev@gmail.com>
On Sun, Mar 19, 2023 at 10:13 AM SZEDER Gábor <szeder.dev@gmail.com> wrote:
>
> Some source files use parse_options(), but don't include
> parse-options.h, while some headers do include parse-options.h, though
> don't really need it.  These patches fix these issues.
Nice!
Reviewed-by: Elijah Newren <newren@gmail.com>
Show 5 quoted lines
> This series has a small and simple conflict with the 'ds/ahead-behind'
> topic, and it will have small conflicts with Elijah's header cleanup
> series as well:
>
>   https://public-inbox.org/git/pull.1493.git.1679207282.gitgitgadget@gmail.com/T/#t

Perhaps it makes sense to rebase your series on that one? (And/or add the headers earlier in the list instead of at the end to reduce the odds of patch collisions? I really wish we had our #include's in alphabetical order instead of always appending to the end, because it both reduces the odds of conflicts and is so much easier for humans to check.)

Previous: SZEDER Gábor
Message 4 of 4 in “Remove unnecessary inclusions of parse-options.h from headers”
  1. 0/2 Remove unnecessary inclusions of parse-options.h from headersSZEDER Gábor, Mar 19, 2023
  2. 1/2 treewide: include parse-options.h in source filesSZEDER Gábor, Mar 19, 2023
  3. 2/2 treewide: remove unnecessary inclusions of parse-options.h from headersSZEDER Gábor, Mar 19, 2023
  4. Elijah NewrenMar 20, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.