This commit is contained in:
Michael Boulton 2020-08-18 15:17:46 +01:00
parent 971e18b585
commit 051b9cd7b0
No known key found for this signature in database
GPG Key ID: 8A62CA0BE2E0197E
1 changed files with 1 additions and 0 deletions

View File

@ -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)