summaryrefslogtreecommitdiffstats
path: root/zlib.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2020-02-22 21:17:41 +0100
committerJunio C Hamano <gitster@pobox.com>2020-02-24 18:33:30 +0100
commite02a7141f83326f7098800fed764061ecf1f0eff (patch)
tree1318e9963b37976a2ed39db967a4e69e82b0ef96 /zlib.c
parentinit-db: move writing repo version into a function (diff)
downloadgit-e02a7141f83326f7098800fed764061ecf1f0eff.tar.xz
git-e02a7141f83326f7098800fed764061ecf1f0eff.zip
worktree: allow repository version 1
Git supports both repository versions 0 and 1. These formats are identical except for the presence of extensions. When using an extension, such as for a different hash algorithm, a check for only version 0 causes the check to fail. Instead, call verify_repository_format to verify that we have an appropriate version and no unknown extensions. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'zlib.c')
0 files changed, 0 insertions, 0 deletions