]> git.ipfire.org Git - thirdparty/git.git/commit - repository.h
repository: add a helper function to perform repository format upgrade
authorXin Li <delphij@google.com>
Fri, 5 Jun 2020 09:10:01 +0000 (02:10 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Jun 2020 17:13:30 +0000 (10:13 -0700)
commit16af5f1abb2b3291f96a248698449c48c6a0ec36
treed8bae1f1b88f0b6b6717b19de757075c90b2b1b4
parent2d5e9f31ac46017895ce6a183467037d29ceb9d3
repository: add a helper function to perform repository format upgrade

In version 1 of repository format, "extensions" gained special meaning
and it is safer to avoid upgrading when there are pre-existing
extensions.

Make list-objects-filter to use the helper function instead of setting
repository version directly as a prerequisite of exposing the upgrade
capability.

Signed-off-by: Xin Li <delphij@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
list-objects-filter-options.c
repository.h
setup.c