summaryrefslogtreecommitdiff
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorCaleb White <cdwhite3@pm.me>2024-11-29 22:22:26 +0000
committerJunio C Hamano <gitster@pobox.com>2024-12-02 09:36:16 +0900
commitd897f2c16da9ab9588d2015121449d5bc54c9736 (patch)
treeb58e8d0e078edc70320db3a19f172322602b3ab9 /builtin/commit-graph.c
parent090d24e9af6e9f59c3f7bee97c42bb1ae3c7f559 (diff)
setup: correctly reinitialize repository version
When reinitializing a repository, Git does not account for extensions other than `objectformat` and `refstorage` when determining the repository version. This can lead to a repository being downgraded to version 0 if extensions are set, causing Git future operations to fail. This patch teaches Git to check if other extensions are defined in the config to ensure that the repository version is set correctly. Signed-off-by: Caleb White <cdwhite3@pm.me> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions