Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2020-02-22 23:17:41 +0300
committerJunio C Hamano <gitster@pobox.com>2020-02-24 20:33:30 +0300
commite02a7141f83326f7098800fed764061ecf1f0eff (patch)
tree1318e9963b37976a2ed39db967a4e69e82b0ef96 /commit.c
parentefa7ae36c134cc0de6f766c1ab5dfd6b55fab65c (diff)
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 'commit.c')
0 files changed, 0 insertions, 0 deletions