Fast implementation of Git in pure Go codeberg.org/lindenii/furgit
git go
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

object/*: Fix lints

Runxi Yu 62b653a1 aa7e2873

+5
+2
object/id/algorithm_tables.go
··· 61 61 } 62 62 63 63 info.emptyTree = info.sum(emptyTreeInput) 64 + 64 65 algorithmByName[info.name] = algo 65 66 if info.signatureHeaderName != "" { 66 67 algorithmBySignatureHeaderName[info.signatureHeaderName] = algo 67 68 } 69 + 68 70 supportedAlgorithms = append(supportedAlgorithms, algo) 69 71 } 70 72 }
+2
object/signed/tag/parse.go
··· 52 52 } 53 53 54 54 payloadStart := 0 55 + 55 56 payloadEnd := signatureStart 56 57 if signatureStart == len(body) { 57 58 payloadEnd = len(body) ··· 122 123 } 123 124 124 125 tag.appendPayloadRange(payloadStart, payloadEnd) 126 + 125 127 if signatureStart != len(body) { 126 128 tag.signatures[storageAlgo] = append(tag.signatures[storageAlgo], byteRange{ 127 129 start: signatureStart,
+1
object/tree/remove.go
··· 17 17 }) 18 18 if index >= 0 { 19 19 tree.Entries = slices.Delete(tree.Entries, index, index+1) 20 + 20 21 return nil 21 22 } 22 23