X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=setup.c;h=9a46a58a4a34a345eb9f9b623a255c9bcba4c757;hb=e52775f43857f377aa2aa69f82ac2d2f26dc6297;hp=2afdba414a073705440f887593a1b5daa1023758;hpb=71c87795c3f724a88c2f1f95aa21f212efc69b66;p=git.git diff --git a/setup.c b/setup.c index 2afdba414..9a46a58a4 100644 --- a/setup.c +++ b/setup.c @@ -244,6 +244,8 @@ int check_repository_format_version(const char *var, const char *value) repository_format_version = git_config_int(var, value); else if (strcmp(var, "core.sharedrepository") == 0) shared_repository = git_config_perm(var, value); + else if (strcmp(var, "receive.denynonfastforwards") == 0) + deny_non_fast_forwards = git_config_bool(var, value); return 0; }