"Govind Salinas" <govind@xxxxxxxxxxxxxxxxx> writes: > - if (!strcmp(var, "user.name")) { > + if (value && !strcmp(var, "user.name")) { > strlcpy(git_default_name, value, sizeof(git_default_name)); > return 0; > } This is wrong, isn't it? When somebody says [user] name we should not silently ignore it, but instead say "user.name is not a bool!" and error out. The same comment applies to all other if (value && !strcmp(var, "<varname>")) conversions. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html