]> git.scripts.mit.edu Git - git.git/blobdiff - config.c
apply: reject input that touches outside the working area
[git.git] / config.c
index e1d66a145b756c49c4e4902200c354499532a428..2cd64b6e3a55404a58159ddc34449ff3892c74a6 100644 (file)
--- a/config.c
+++ b/config.c
@@ -881,6 +881,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;
 }