]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'xl/upgrade-repo-format'
authorJunio C Hamano <gitster@pobox.com>
Mon, 29 Jun 2020 21:17:24 +0000 (14:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Jun 2020 21:17:24 +0000 (14:17 -0700)
Allow runtime upgrade of the repository format version, which needs
to be done carefully.

There is a rather unpleasant backward compatibility worry with the
last step of this series, but it is the right thing to do in the
longer term.

* xl/upgrade-repo-format:
  check_repository_format_gently(): refuse extensions for old repositories
  sparse-checkout: upgrade repository to version 1 when enabling extension
  fetch: allow adding a filter after initial clone
  repository: add a helper function to perform repository format upgrade

1  2 
builtin/fetch.c
builtin/sparse-checkout.c
t/t5702-protocol-v2.sh

diff --cc builtin/fetch.c
Simple merge
Simple merge
Simple merge