Remix.run Logo
schwede 3 hours ago

Why does the commit editor hide the coauthored message? Why not pre-populate the text field and users take or leave it when committing?

jdlshore 2 hours ago | parent [-]

Co-Authored-By is normally a trailer, and trailers aren’t part of the commit message. It’s likely the commit editor isn’t set up to show trailers. They’re not exactly obscure, but it does seem that they’re relatively unknown.

mplanchard 27 minutes ago | parent [-]

What do you mean they aren’t part of the commit message? Trailers like (signed off by) are absolutely part of the message. Tools can choose to treat them as special metadata, but they’re part of the commit.

The docs for the function to interpret trailers even says this explicitly: https://git-scm.com/docs/git-interpret-trailers

> Add or parse structured information in commit messages