From cbf923e87bca0f50c2c01a60ccf544b63c365e98 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Wed, 13 Dec 2023 21:02:00 +0000 Subject: Abstract hash function usage (#28138) Refactor Hash interfaces and centralize hash function. This will allow easier introduction of different hash function later on. This forms the "no-op" part of the SHA256 enablement patch. --- modules/git/blob_gogit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/git/blob_gogit.go') diff --git a/modules/git/blob_gogit.go b/modules/git/blob_gogit.go index aa206409d0..8c79c067c1 100644 --- a/modules/git/blob_gogit.go +++ b/modules/git/blob_gogit.go @@ -14,7 +14,7 @@ import ( // Blob represents a Git object. type Blob struct { - ID SHA1 + ID ObjectID gogitEncodedObj plumbing.EncodedObject name string -- cgit v1.2.3