Tag signing support #926

Open
savely-krasovsky wants to merge 2 commits from savely-krasovsky/main into main
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 175a5911fb - Show all commits

View File

@ -32,7 +32,7 @@ func newSignatureFromC(sig *C.git_signature) *Signature {
} }
} }
// Offset returns the time zone offset of v.When in minutes, which is what git wants. // Offset returns the time zone offset of sig.When in minutes, which is what git wants.
func (sig *Signature) Offset() int { func (sig *Signature) Offset() int {
_, offset := sig.When.Zone() _, offset := sig.When.Zone()
return offset / 60 return offset / 60