]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
loose: add a mapping between SHA-1 and SHA-256 for loose objects
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 2 Oct 2023 02:40:09 +0000 (21:40 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 Oct 2023 21:57:38 +0000 (14:57 -0700)
commit23b2c7e95b6f8f3045665835d2dc5028701eff18
treeffc99ac1e4307004da2e31947e6806de3259319a
parent15a1ca1abe8dafa9bf3bf924b4e3c6b851717ee2
loose: add a mapping between SHA-1 and SHA-256 for loose objects

As part of the transition plan, we'd like to add a file in the .git
directory that maps loose objects between SHA-1 and SHA-256.  Let's
implement the specification in the transition plan and store this data
on a per-repository basis in struct repository.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
loose.c [new file with mode: 0644]
loose.h [new file with mode: 0644]
object-file-convert.c
object-store-ll.h
object.c
repository.c