http.h: remove unnecessary include

The unnecessary include in the header transitively pulled in some
other headers actually needed by source files, though.  Have those
source files explicitly include the headers they need.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Elijah Newren 2023-12-23 17:14:54 +00:00 committed by Junio C Hamano
parent 31d20faa90
commit f25e65e0fe
4 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,7 @@
#include "walker.h"
#include "setup.h"
#include "strvec.h"
#include "url.h"
#include "urlmatch.h"
#include "trace2.h"

View File

@ -15,6 +15,7 @@
#include "strvec.h"
#include "tree.h"
#include "tree-walk.h"
#include "url.h"
#include "packfile.h"
#include "object-store-ll.h"
#include "commit-reach.h"

1
http.h
View File

@ -10,7 +10,6 @@ struct packed_git;
#include "strbuf.h"
#include "remote.h"
#include "url.h"
#define DEFAULT_MAX_REQUESTS 5

View File

@ -21,6 +21,7 @@
#include "quote.h"
#include "trace2.h"
#include "transport.h"
#include "url.h"
#include "write-or-die.h"
static struct remote *remote;