Git fork

pkt-line.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>

authored by

Elijah Newren and committed by
Junio C Hamano
545f7b50 a28fe2d9

+2 -1
+1
pkt-line.c
··· 4 4 #include "gettext.h" 5 5 #include "hex.h" 6 6 #include "run-command.h" 7 + #include "sideband.h" 7 8 #include "trace.h" 8 9 #include "write-or-die.h" 9 10
-1
pkt-line.h
··· 2 2 #define PKTLINE_H 3 3 4 4 #include "strbuf.h" 5 - #include "sideband.h" 6 5 7 6 /* 8 7 * Write a packetized stream, where each line is preceded by
+1
t/helper/test-pkt-line.c
··· 1 1 #include "git-compat-util.h" 2 2 #include "test-tool.h" 3 3 #include "pkt-line.h" 4 + #include "sideband.h" 4 5 #include "write-or-die.h" 5 6 6 7 static void pack_line(const char *line)