diff options
Diffstat (limited to 'modules/git/sha1_nogogit.go')
-rw-r--r-- | modules/git/sha1_nogogit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/sha1_nogogit.go b/modules/git/sha1_nogogit.go index 1835c68f5a..a2620cba69 100644 --- a/modules/git/sha1_nogogit.go +++ b/modules/git/sha1_nogogit.go @@ -58,5 +58,5 @@ func NewHasher(t ObjectType, size int64) Hasher { // Sum generates a SHA1 for the provided hash func (h Hasher) Sum() (sha1 SHA1) { copy(sha1[:], h.Hash.Sum(nil)) - return + return sha1 } |