summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
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 /contrib/persistent-https
parent090d24e9af6e9f59c3f7bee97c42bb1ae3c7f559 (diff)
downloadgit-d897f2c16da9ab9588d2015121449d5bc54c9736.tar.gz
git-d897f2c16da9ab9588d2015121449d5bc54c9736.zip
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 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions