diff options
| author | Carlos Martín Nieto <[email protected]> | 2015-08-31 20:12:45 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2015-08-31 20:12:45 +0200 |
| commit | d59752528c627fd511e2969b9daa672d4d8adc7d (patch) | |
| tree | 48a919fa85a76a69e3a19768edb7ac12d1d03d09 /describe.go | |
| parent | c6c2e9389fd2148d20f2e283000f5b4204dbcdc8 (diff) | |
| parent | b7159b0cd4b25ee3b1a8eb9e0d4991d297487a36 (diff) | |
Merge pull request #237 from libgit2/object-type
Move from an Object interface to a type
Diffstat (limited to 'describe.go')
| -rw-r--r-- | describe.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/describe.go b/describe.go index c6f9a79..d75dbcb 100644 --- a/describe.go +++ b/describe.go @@ -127,7 +127,7 @@ func (c *Commit) Describe(opts *DescribeOptions) (*DescribeResult, error) { runtime.LockOSThread() defer runtime.UnlockOSThread() - ecode := C.git_describe_commit(&resultPtr, c.gitObject.ptr, cDescribeOpts) + ecode := C.git_describe_commit(&resultPtr, c.ptr, cDescribeOpts) if ecode < 0 { return nil, MakeGitError(ecode) } |
