lazily load core.sharedrepository
[gitweb.git] / setup.c
diff --git a/setup.c b/setup.c
index b2f2e690e46d6dae1372a7022a0eca71a7fb80ed..a02932b9698945e04d7a36582f7b5c4bd9fc9268 100644 (file)
--- a/setup.c
+++ b/setup.c
@@ -376,8 +376,6 @@ static int check_repo_format(const char *var, const char *value, void *cb)
 
        if (strcmp(var, "core.repositoryformatversion") == 0)
                repository_format_version = git_config_int(var, value);
-       else if (strcmp(var, "core.sharedrepository") == 0)
-               shared_repository = git_config_perm(var, value);
        else if (skip_prefix(var, "extensions.", &ext)) {
                /*
                 * record any known extensions here; otherwise,