X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=config.c;h=f4f2c59a34cd9fc70db940871caaf00b94a6ef2e;hb=243157506725befcf7c7ed7e79ca4708b63f3a65;hp=b3d1ff4e7cc3eb6ec72aa2d5140def5de5c6966b;hpb=957f5db74fcf2a00260c8bdef4bf147b1b990914;p=git.git diff --git a/config.c b/config.c index b3d1ff4e7..f4f2c59a3 100644 --- a/config.c +++ b/config.c @@ -477,6 +477,11 @@ static int git_default_core_config(const char *var, const char *value) return 0; } + if (!strcmp(var, "core.notesref")) { + notes_ref_name = xstrdup(value); + return 0; + } + if (!strcmp(var, "core.pager")) return git_config_string(&pager_program, var, value); @@ -513,6 +518,11 @@ static int git_default_core_config(const char *var, const char *value) return 0; } + if (!strcmp(var, "core.sparsecheckout")) { + core_apply_sparse_checkout = git_config_bool(var, value); + return 0; + } + /* Add other config variables here and to Documentation/config.txt. */ return 0; }