]> git.ipfire.org Git - thirdparty/git.git/blobdiff - help.c
Merge branch 'cc/browser'
[thirdparty/git.git] / help.c
diff --git a/help.c b/help.c
index c35912bc553ce1c9dbb912a2ff8d9464ca51c3bf..6e28ad9e7129360aa2b3206a606e81134baec85c 100644 (file)
--- a/help.c
+++ b/help.c
@@ -40,6 +40,8 @@ static void parse_help_format(const char *format)
 static int git_help_config(const char *var, const char *value)
 {
        if (!strcmp(var, "help.format")) {
+               if (!value)
+                       return config_error_nonbool(var);
                help_default_format = xstrdup(value);
                return 0;
        }