CodingGuidelines: describe naming rules for configuration variables
[gitweb.git] / config.c
index 9e42d3832bbcce428705ef616d5b2008c47ec91a..73d8205ae401a8ffc18c37a9bf91d96407f7222d 100644 (file)
--- a/config.c
+++ b/config.c
@@ -880,6 +880,16 @@ static int git_default_core_config(const char *var, const char *value)
                return 0;
        }
 
+       if (!strcmp(var, "core.protecthfs")) {
+               protect_hfs = git_config_bool(var, value);
+               return 0;
+       }
+
+       if (!strcmp(var, "core.protectntfs")) {
+               protect_ntfs = git_config_bool(var, value);
+               return 0;
+       }
+
        /* Add other config variables here and to Documentation/config.txt. */
        return 0;
 }