]> git.ipfire.org Git - thirdparty/git.git/blobdiff - diff.c
help: add --config to list all available config
[thirdparty/git.git] / diff.c
diff --git a/diff.c b/diff.c
index 56d7bfded6a8cc06f635a50898f2747fe1eac9b1..513410d46bfeff9c6341619133f873b898e42198 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -22,6 +22,7 @@
 #include "argv-array.h"
 #include "graph.h"
 #include "packfile.h"
+#include "help.h"
 
 #ifdef NO_FAST_WORKING_DIRECTORY
 #define FAST_WORKING_DIRECTORY 0
@@ -93,6 +94,8 @@ static NORETURN void die_want_option(const char *option_name)
        die(_("option '%s' requires a value"), option_name);
 }
 
+define_list_config_array_extra(color_diff_slots, {"plain"});
+
 static int parse_diff_color_slot(const char *var)
 {
        if (!strcasecmp(var, "plain"))