Add support for creating signed commits and signing commits during a rebase #626

Merged
mbfr merged 25 commits from master into master 2020-08-18 11:25:31 -05:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit 051b9cd7b0 - Show all commits

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 {
lhchavez commented 2020-08-18 08:50:58 -05:00 (Migrated from github.com)
Review

one more thing i forgot, can the public functions have a docstring? most of the contents can be copied from the C docs.

one more thing i forgot, can the public functions have a docstring? most of the contents can be copied from the C docs.
mbfr commented 2020-08-18 09:18:00 -05:00 (Migrated from github.com)
Review

Fixed

Fixed
ret := C.GoString(C.git_commit_raw_header(c.cast_ptr))
runtime.KeepAlive(c)