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
This commit is contained in:
Jesse Hathaway 2020-06-02 15:48:08 +00:00
parent ca080d554e
commit 9a3d42b51b
1 changed files with 0 additions and 1 deletions

View File

@ -19,7 +19,6 @@ type Trailer struct {
// Trailer structs. Trailers are key/value pairs in the last paragraph of a // Trailer structs. Trailers are key/value pairs in the last paragraph of a
// message, not including any patches or conflicts that may be present. // message, not including any patches or conflicts that may be present.
func MessageTrailers(message string) ([]Trailer, error) { func MessageTrailers(message string) ([]Trailer, error) {
var trailersC C.git_message_trailer_array var trailersC C.git_message_trailer_array
messageC := C.CString(message) messageC := C.CString(message)