]> git.ipfire.org Git - thirdparty/git.git/blobdiff - help.c
cache.h: remove unnecessary headers
[thirdparty/git.git] / help.c
diff --git a/help.c b/help.c
index 812af4cdea62129c12ec33813d934d677c61d714..5d7637dce92867c1c0bee7f6f6b904852d237222 100644 (file)
--- a/help.c
+++ b/help.c
@@ -1,9 +1,11 @@
-#include "cache.h"
+#include "git-compat-util.h"
+#include "alloc.h"
 #include "config.h"
 #include "builtin.h"
 #include "exec-cmd.h"
 #include "run-command.h"
 #include "levenshtein.h"
+#include "gettext.h"
 #include "help.h"
 #include "command-list.h"
 #include "string-list.h"
@@ -540,7 +542,8 @@ static struct cmdnames aliases;
 #define AUTOCORRECT_NEVER (-2)
 #define AUTOCORRECT_IMMEDIATELY (-1)
 
-static int git_unknown_cmd_config(const char *var, const char *value, void *cb)
+static int git_unknown_cmd_config(const char *var, const char *value,
+                                 void *cb UNUSED)
 {
        const char *p;