From 9ae702faf151802f481e68db8d5cb5b536b31c2a Mon Sep 17 00:00:00 2001 From: "brian m. carlson" Date: Sun, 1 Oct 2023 21:40:25 -0500 Subject: repository: implement extensions.compatObjectFormat Add a configuration option to enable updating and reading from compatibility hash maps when git accesses the reposotiry. Call the helper function repo_set_compat_hash_algo with the value that compatObjectFormat is set to. Signed-off-by: "Eric W. Biederman" Signed-off-by: Junio C Hamano --- setup.h | 1 + 1 file changed, 1 insertion(+) (limited to 'setup.h') diff --git a/setup.h b/setup.h index 58fd2605dd..5d678ceb8c 100644 --- a/setup.h +++ b/setup.h @@ -86,6 +86,7 @@ struct repository_format { int worktree_config; int is_bare; int hash_algo; + int compat_hash_algo; int sparse_index; char *work_tree; struct string_list unknown_extensions; -- cgit v1.3