X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=config.c;h=7b444b68abcebb5829a5628ee5b74cf3f0020c0b;hb=d4c655271932cd8999a2d8634bde24602c591fe7;hp=b5696354fa0e2b176c6d99ae0f34ba1bf1ecc5f7;hpb=659742f796b5502e3917fbdbd1d7400c9648b180;p=git.git diff --git a/config.c b/config.c index b5696354f..7b444b68a 100644 --- a/config.c +++ b/config.c @@ -839,6 +839,8 @@ static int git_default_mailmap_config(const char *var, const char *value) { if (!strcmp(var, "mailmap.file")) return git_config_string(&git_mailmap_file, var, value); + if (!strcmp(var, "mailmap.blob")) + return git_config_string(&git_mailmap_blob, var, value); /* Add other config variables here and to Documentation/config.txt. */ return 0; @@ -1660,6 +1662,7 @@ int git_config_rename_section(const char *old_name, const char *new_name) * Call this to report error for your variable that should not * get a boolean value (i.e. "[my] var" means "true"). */ +#undef config_error_nonbool int config_error_nonbool(const char *var) { return error("Missing value for '%s'", var);