Support git_repository_message, git_repository_message_remove (#734) #737
|
@ -699,7 +699,7 @@ func (r *Repository) ClearGitIgnoreRules() error {
|
||||||
// the file after you create the commit.
|
// the file after you create the commit.
|
||||||
func (r *Repository) Message() (string, error) {
|
func (r *Repository) Message() (string, error) {
|
||||||
buf := C.git_buf{}
|
buf := C.git_buf{}
|
||||||
defer C.git_buf_dispose(&buf)
|
defer C.git_buf_free(&buf)
|
||||||
|
|
||||||
runtime.LockOSThread()
|
runtime.LockOSThread()
|
||||||
defer runtime.UnlockOSThread()
|
defer runtime.UnlockOSThread()
|
||||||
|
|
Loading…
Reference in New Issue