diff options
| author | Carlos Martín Nieto <[email protected]> | 2014-02-23 15:31:22 +0100 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2014-02-23 15:31:22 +0100 |
| commit | 1b09b03c0eecc4f5bad58e5647460cb8680a2188 (patch) | |
| tree | 32dac887b2d360d9a313e4956263cad3ca8761b2 /commit.go | |
| parent | 66e1c476199ebcd3e304659992233132c5a52c6c (diff) | |
| parent | f66502aaf44862a8671285e80327d808afee155f (diff) | |
Merge commit 'refs/pull/53/head' of github.com:libgit2/git2go
On top: fix git_buf handling and rename signature
This fixes #57, #54.
Conflicts:
git.go
reference.go
repository.go
submodule.go
Diffstat (limited to 'commit.go')
| -rw-r--r-- | commit.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -94,6 +94,11 @@ func (v *Signature) Offset() int { } func (sig *Signature) toC() *C.git_signature { + + if sig == nil { + return nil + } + var out *C.git_signature name := C.CString(sig.Name) |
