Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-12-23 20:14:50 +0300
committerJunio C Hamano <gitster@pobox.com>2023-12-26 23:04:31 +0300
commiteea0e59ffbed6e33d171ace5be13cde9faa41639 (patch)
treee5ecfbb51dd0026796dabd22b483e14e0d77eebb /gpg-interface.c
parent147438e8a0eb31a06cb9aefbf0de8c45e544a4c7 (diff)
treewide: remove unnecessary includes in source files
Each of these were checked with gcc -E -I. ${SOURCE_FILE} | grep ${HEADER_FILE} to ensure that removing the direct inclusion of the header actually resulted in that header no longer being included at all (i.e. that no other header pulled it in transitively). ...except for a few cases where we verified that although the header was brought in transitively, nothing from it was directly used in that source file. These cases were: * builtin/credential-cache.c * builtin/pull.c * builtin/send-pack.c Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gpg-interface.c')
-rw-r--r--gpg-interface.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gpg-interface.c b/gpg-interface.c
index 48f43c5a21..636475f598 100644
--- a/gpg-interface.c
+++ b/gpg-interface.c
@@ -12,7 +12,6 @@
#include "sigchain.h"
#include "tempfile.h"
#include "alias.h"
-#include "environment.h"
static int git_gpg_config(const char *, const char *,
const struct config_context *, void *);