From 9a3d42b51b026cfd8cb1bf012c21741f630f1782 Mon Sep 17 00:00:00 2001 From: Jesse Hathaway Date: Tue, 2 Jun 2020 15:48:08 +0000 Subject: [PATCH] remove uneeded newline This was copied from Remote.Ls, there are other examples however: #!/bin/bash for f in *.go; do awk ' /^func/ { getline tmp if (tmp == "") { print } }' <"${f}" done --- message.go | 1 - 1 file changed, 1 deletion(-) diff --git a/message.go b/message.go index 285e87c..eb79def 100644 --- a/message.go +++ b/message.go @@ -19,7 +19,6 @@ type Trailer struct { // Trailer structs. Trailers are key/value pairs in the last paragraph of a // message, not including any patches or conflicts that may be present. func MessageTrailers(message string) ([]Trailer, error) { - var trailersC C.git_message_trailer_array messageC := C.CString(message)