diff options
Diffstat (limited to 'obj_commit.go')
| -rw-r--r-- | obj_commit.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/obj_commit.go b/obj_commit.go index 2b87322f..628a188a 100644 --- a/obj_commit.go +++ b/obj_commit.go @@ -18,7 +18,8 @@ type Commit struct { } // ObjectType allows Commit to satisfy the Object interface. -func (*Commit) ObjectType() ObjectType { +func (commit *Commit) ObjectType() ObjectType { + _ = commit return ObjCommit } |
