Re: [PATCH 01/15] sha1-file: allow hashing objects literally with any algorithm
From: Denton Liu <hidden>
Date: 2021-04-15 08:55:57
From: Denton Liu <hidden>
Date: 2021-04-15 08:55:57
Hi brian,
Subject: [PATCH 01/15] sha1-file: allow hashing objects literally with any algorithm
s/sha1-file/object-file/ I can see that you've waited a while to send this series ;) On Sat, Apr 10, 2021 at 03:21:26PM +0000, brian m. carlson wrote:
In order to perform suitable testing with multiple algorithms and interoperability, we'll need the ability to hash an object with a given algorithm. Introduce this capability for now only for objects which are hashed literally by adding a function which does this and changing a static function to accept an algorithm pointer. Signed-off-by: brian m. carlson <redacted> --- object-file.c | 16 ++++++++++++++-- object-store.h | 3 +++ 2 files changed, 17 insertions(+), 2 deletions(-)