[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
headersbuiltin/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