summaryrefslogtreecommitdiff
path: root/date.c
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2020-02-22 20:17:41 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-02-24 09:33:30 -0800
commite02a7141f83326f7098800fed764061ecf1f0eff (patch)
tree1318e9963b37976a2ed39db967a4e69e82b0ef96 /date.c
parentinit-db: move writing repo version into a function (diff)
downloadtgif-e02a7141f83326f7098800fed764061ecf1f0eff.tar.xz
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 'date.c')
0 files changed, 0 insertions, 0 deletions