summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-07-16 17:58:42 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-07-16 17:58:42 -0700
commitd13b7f21989335c0ac14e3a0c7eaaee0bc30ea70 (patch)
treebef23ee949b0c34d0bc9d4ee908e26b116cc62b8 /cache.h
parentHopefully the last batch before -rc1 (diff)
parentrepository: allow repository format upgrade with extensions (diff)
downloadtgif-d13b7f21989335c0ac14e3a0c7eaaee0bc30ea70.tar.xz
Merge branch 'jn/v0-with-extensions-fix' into master
In 2.28-rc0, we corrected a bug that some repository extensions are honored by mistake even in a version 0 repositories (these configuration variables in extensions.* namespace were supposed to have special meaning in repositories whose version numbers are 1 or higher), but this was a bit too big a change. * jn/v0-with-extensions-fix: repository: allow repository format upgrade with extensions Revert "check_repository_format_gently(): refuse extensions for old repositories"
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 126ec56c7f..654426460c 100644
--- a/cache.h
+++ b/cache.h
@@ -1042,7 +1042,6 @@ struct repository_format {
int worktree_config;
int is_bare;
int hash_algo;
- int has_extensions;
char *work_tree;
struct string_list unknown_extensions;
};