lstat_cache(): print a warning if doing ping-pong between cache types
[gitweb.git] / config.c
index 790405a213b12a4d1c62d9354e1292e0dc6af057..e5d5b4bd0689d8c2932d501779356fc33a0d0379 100644 (file)
--- a/config.c
+++ b/config.c
@@ -469,6 +469,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);