diff options
| author | 2025-11-16 00:00:00 +0000 | |
|---|---|---|
| committer | 2025-11-16 00:00:00 +0000 | |
| commit | b6d4ab71d42234a4ae2678083d1b7558b8e6519f (patch) | |
| tree | 993c8a56ee9b2a72237e29cbf41767d4986c2fc5 /obj_tag.go | |
| parent | hash: Make fewer helper functions need explicit hash length fields (diff) | |
| signature | ||
Make the API more consistent
Diffstat (limited to 'obj_tag.go')
| -rw-r--r-- | obj_tag.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -128,8 +128,8 @@ func tagBody(t *Tag) ([]byte, error) { } // Serialize renders a Tag into canonical Git format. -func (t *Tag) Serialize() ([]byte, error) { - body, err := tagBody(t) +func (tag *Tag) Serialize() ([]byte, error) { + body, err := tagBody(tag) if err != nil { return nil, err } |
