Skip to content

Commit f25e65e

Browse files
newrengitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 31d20fa commit f25e65e

File tree

4 files changed

+3
-1
lines changed

4 files changed

+3
-1
lines changed

http-fetch.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include "walker.h"
77
#include "setup.h"
88
#include "strvec.h"
9+
#include "url.h"
910
#include "urlmatch.h"
1011
#include "trace2.h"
1112

http-push.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "strvec.h"
1616
#include "tree.h"
1717
#include "tree-walk.h"
18+
#include "url.h"
1819
#include "packfile.h"
1920
#include "object-store-ll.h"
2021
#include "commit-reach.h"

http.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ struct packed_git;
1010

1111
#include "strbuf.h"
1212
#include "remote.h"
13-
#include "url.h"
1413

1514
#define DEFAULT_MAX_REQUESTS 5
1615

remote-curl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include "quote.h"
2222
#include "trace2.h"
2323
#include "transport.h"
24+
#include "url.h"
2425
#include "write-or-die.h"
2526

2627
static struct remote *remote;

0 commit comments

Comments
 (0)