worktree: allow repository version 1
authorbrian m. carlson <redacted>
Sat, 22 Feb 2020 20:17:41 +0000 (20:17 +0000)
committerJunio C Hamano <redacted>
Mon, 24 Feb 2020 17:33:30 +0000 (09:33 -0800)
commite02a7141f83326f7098800fed764061ecf1f0eff
tree1318e9963b37976a2ed39db967a4e69e82b0ef96
parentefa7ae36c134cc0de6f766c1ab5dfd6b55fab65c
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
worktree.c
git clone https://git.99rst.org/PROJECT