diff options
| author | Aidan Nulman <[email protected]> | 2014-02-24 03:05:44 -0500 |
|---|---|---|
| committer | Aidan Nulman <[email protected]> | 2014-02-24 03:05:44 -0500 |
| commit | 2656a72e823e16451480b7858213f6e3cb8bb2fd (patch) | |
| tree | e31656bc81965c4d18864d8305f2f6ff65fd627a /commit.go | |
| parent | decaf064f9ace275789657343d5123ee5290ea31 (diff) | |
| parent | c6d1bde37cc7f3bd213fc182fd9f60a7cd685419 (diff) | |
Merge branch 'master' into custom_odb
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) |
