Add support for parsing git trailers #614

Merged
lollipopman merged 5 commits from trailers into master 2020-06-02 12:30:42 -05:00

5 Commits

Author SHA1 Message Date
Jesse Hathaway 4764a75274 change post-step for better symmetry with the initialization step 2020-06-02 15:55:00 +00:00
Jesse Hathaway 9a3d42b51b 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
2020-06-02 15:48:44 +00:00
Jesse Hathaway ca080d554e export Trailer struct fields 2020-06-02 14:46:00 +00:00
Jesse Hathaway 0e26174be2 add documentation to Trailer & MessageTrailers 2020-06-02 14:42:55 +00:00
Jesse Hathaway 482da8fcb0 Add support for parsing git trailers
Adds a wrapper for git_message_trailers which returns a slice of trailer
structs.
2020-06-01 21:41:53 +00:00