summaryrefslogtreecommitdiff
path: root/builtin/fetch.c
diff options
context:
space:
mode:
authorДилян Палаузов <git-dpa@aegee.org>2015-02-13 14:47:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-02-13 21:16:12 (GMT)
commit5d308512ffde7efa6b5aad9549320b394b79b740 (patch)
tree9fd9bf6a202f65f9ce199f91dc0eb912f549241c /builtin/fetch.c
parent9874fca7122563e28d699a911404fc49d2a24f1c (diff)
downloadgit-5d308512ffde7efa6b5aad9549320b394b79b740.zip
git-5d308512ffde7efa6b5aad9549320b394b79b740.tar.gz
git-5d308512ffde7efa6b5aad9549320b394b79b740.tar.bz2
do not include the same header twice
A few files include the same header file directly more than once. As all these headers protect themselves against repeated inclusion by the "#ifndef FOO_H / #define FOO_H / ... / #endif" idiom, leave only the first inclusion and remove the later inclusion as a no-op clean-up. Signed-off-by: Дилян Палаузов <git-dpa@aegee.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/fetch.c')
-rw-r--r--builtin/fetch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/fetch.c b/builtin/fetch.c
index 7b84d35..75a55e5 100644
--- a/builtin/fetch.c
+++ b/builtin/fetch.c
@@ -11,7 +11,6 @@
#include "run-command.h"
#include "parse-options.h"
#include "sigchain.h"
-#include "transport.h"
#include "submodule.h"
#include "connected.h"
#include "argv-array.h"