summaryrefslogtreecommitdiff
path: root/t/lib-gpg.sh
diff options
context:
space:
mode:
authorLibravatar Xin Li <delphij@google.com>2020-06-05 02:10:04 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-06-05 10:13:30 -0700
commit14c7fa269e42df4133edd9ae7763b678ed6594cd (patch)
tree5495da0e8ac4e16e1ac02158580b1e2593f98086 /t/lib-gpg.sh
parentsparse-checkout: upgrade repository to version 1 when enabling extension (diff)
downloadtgif-14c7fa269e42df4133edd9ae7763b678ed6594cd.tar.xz
check_repository_format_gently(): refuse extensions for old repositories
Previously, extensions were recognized regardless of repository format version.  If the user sets an undefined "extensions" value on a repository of version 0 and that value is used by a future git version, they might get an undesired result. Because all extensions now also upgrade repository versions, tightening the check would help avoid this for future extensions. Signed-off-by: Xin Li <delphij@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-gpg.sh')
0 files changed, 0 insertions, 0 deletions