diff --git a/commit.go b/commit.go index bf12e58..1c546b3 100644 --- a/commit.go +++ b/commit.go @@ -40,6 +40,7 @@ func (c *Commit) RawMessage() string { return ret } +// RawHeader gets the full raw text of the commit header. func (c *Commit) RawHeader() string { ret := C.GoString(C.git_commit_raw_header(c.cast_ptr)) runtime.KeepAlive(c)