]> git.scripts.mit.edu Git - git.git/blobdiff - config.c
fsck: complain about HFS+ ".git" aliases in trees
[git.git] / config.c
index e1d66a145b756c49c4e4902200c354499532a428..b519cedc0146121355f1f41bcaec99260bdf7fe4 100644 (file)
--- a/config.c
+++ b/config.c
@@ -881,6 +881,11 @@ 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;
+       }
+
        /* Add other config variables here and to Documentation/config.txt. */
        return 0;
 }