]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/commit.c
help: add --config to list all available config
[thirdparty/git.git] / builtin / commit.c
index f96755aa4b6a8f30cb886cb151c560481896d6e5..8bb39116145b575eeb74e18d85e79b7c0ab35f85 100644 (file)
@@ -32,6 +32,7 @@
 #include "column.h"
 #include "sequencer.h"
 #include "mailmap.h"
+#include "help.h"
 
 static const char * const builtin_commit_usage[] = {
        N_("git commit [<options>] [--] <pathspec>..."),
@@ -1185,6 +1186,8 @@ static int dry_run_commit(int argc, const char **argv, const char *prefix,
        return commitable ? 0 : 1;
 }
 
+define_list_config_array_extra(color_status_slots, {"added"});
+
 static int parse_status_slot(const char *slot)
 {
        if (!strcasecmp(slot, "added"))