Skip to content

Remove unnecessary inclusions of parse-options.h from headers

SZEDER Gábor git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2treewide: include parse-options.h in source filesbuiltin/ls-remote.c builtin/pack-objects.c builtin/receive-pack.c +7 more+10 -00 replies
2/2treewide: remove unnecessary inclusions of parse-options.h from headersdiagnose.h list-objects-filter-options.h ref-filter.h +2 more+8 -50 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchElijah Newren
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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/[email protected]/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(-)
Signature · 1 line
2.40.0.499.g88fa0b00d2