diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2023-10-01 21:40:29 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-10-02 14:57:40 -0700 |
commit | 8d691757b8fcbe9b7898a5d1dcb37b198a8c60e1 (patch) | |
tree | 296397850f8359824b68ee06873fcad15d6110f9 /builtin/commit.c | |
parent | efed687edcaa272601e0f4e192db368972daa7ac (diff) |
object-file: handle compat objects in check_object_signature
Update check_object_signature to find the hash algorithm the exising
signature uses, and to use the same hash algorithm when recomputing it
to check the signature is valid.
This will be useful when teaching git ls-tree to display objects
encoded with the compat hash algorithm.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions