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>maint
							parent
							
								
									31d20faa90
								
							
						
					
					
						commit
						f25e65e0fe
					
				|  | @ -6,6 +6,7 @@ | ||||||
| #include "walker.h" | #include "walker.h" | ||||||
| #include "setup.h" | #include "setup.h" | ||||||
| #include "strvec.h" | #include "strvec.h" | ||||||
|  | #include "url.h" | ||||||
| #include "urlmatch.h" | #include "urlmatch.h" | ||||||
| #include "trace2.h" | #include "trace2.h" | ||||||
|  |  | ||||||
|  |  | ||||||
|  | @ -15,6 +15,7 @@ | ||||||
| #include "strvec.h" | #include "strvec.h" | ||||||
| #include "tree.h" | #include "tree.h" | ||||||
| #include "tree-walk.h" | #include "tree-walk.h" | ||||||
|  | #include "url.h" | ||||||
| #include "packfile.h" | #include "packfile.h" | ||||||
| #include "object-store-ll.h" | #include "object-store-ll.h" | ||||||
| #include "commit-reach.h" | #include "commit-reach.h" | ||||||
|  |  | ||||||
							
								
								
									
										1
									
								
								http.h
								
								
								
								
							
							
						
						
									
										1
									
								
								http.h
								
								
								
								
							|  | @ -10,7 +10,6 @@ struct packed_git; | ||||||
|  |  | ||||||
| #include "strbuf.h" | #include "strbuf.h" | ||||||
| #include "remote.h" | #include "remote.h" | ||||||
| #include "url.h" |  | ||||||
|  |  | ||||||
| #define DEFAULT_MAX_REQUESTS 5 | #define DEFAULT_MAX_REQUESTS 5 | ||||||
|  |  | ||||||
|  |  | ||||||
|  | @ -21,6 +21,7 @@ | ||||||
| #include "quote.h" | #include "quote.h" | ||||||
| #include "trace2.h" | #include "trace2.h" | ||||||
| #include "transport.h" | #include "transport.h" | ||||||
|  | #include "url.h" | ||||||
| #include "write-or-die.h" | #include "write-or-die.h" | ||||||
|  |  | ||||||
| static struct remote *remote; | static struct remote *remote; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Elijah Newren
						Elijah Newren