repack: accept --threads=<n> and pass it down to pack-objects
[gitweb.git] / submodule-config.c
index 93453909cf3225e2b4b9630d4013f76987ca8be8..bb069bc09734f473598d78493c1c08b1b4bd85e2 100644 (file)
@@ -333,7 +333,7 @@ static int parse_config(const char *var, const char *value, void *data)
                         strcmp(value, "all") &&
                         strcmp(value, "none"))
                        warning("Invalid parameter '%s' for config option "
-                                       "'submodule.%s.ignore'", value, var);
+                                       "'submodule.%s.ignore'", value, name.buf);
                else {
                        free((void *) submodule->ignore);
                        submodule->ignore = xstrdup(value);