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

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

From
SZEDER Gábor <szeder.dev@gmail.com>
Date
Mar 19, 2023, 16:27 UTC
Message-ID
<20230319162712.654137-1-szeder.dev@gmail.com>

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.

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
SZEDER Gábor (2):
  treewide: include parse-options.h in source files
  treewide: remove unnecessary inclusions of parse-options.h from
    headers
 builtin/ls-remote.c           | 1 +
 builtin/pack-objects.c        | 1 +
 builtin/receive-pack.c        | 1 +
 builtin/reflog.c              | 1 +
 builtin/send-pack.c           | 1 +
 diagnose.c                    | 1 +
 diagnose.h                    | 3 ++-
 list-objects-filter-options.c | 1 +
 list-objects-filter-options.h | 3 ++-
 ref-filter.h                  | 2 +-
 remote.c                      | 1 +
 remote.h                      | 2 +-
 revision.c                    | 1 +
 revision.h                    | 3 ++-
 send-pack.c                   | 1 +
 15 files changed, 18 insertions(+), 5 deletions(-)
-- 
2.40.0.499.g88fa0b00d2
Next: SZEDER Gábor
Message 1 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.