Re:VS Code inserting 'Co-Authored-by Copilot' into commits r...
by baobabKoodaa on Sunday May 03, 2026 @06:20AM
(#47995456)
We're talking about Git here. The question is not "how VSCode is programmed", the question is "does Git have a special field for commit trailers". The answer is no. Git stores the trailer as part of the commit message.
Re:VS Code inserting 'Co-Authored-by Copilot' into commits r...
by jdlshore on Sunday May 03, 2026 @10:55AM
(#47997542)
If you look at the comment I’m responding to, it is in fact about how VSCode is programmed; specifically, a possible reason why the Co-Authored-By trailer doesn’t show up in VSCode’s commit message box.
Re:VS Code inserting 'Co-Authored-by Copilot' into commits r...
by opello on Wednesday May 06, 2026 @01:20AM
(#48032523)
It seems like it would be most reasonable to consider porcelain vs. plumbing command details in deciding if something is logically distinct to Git. git-commit has --message and --trailer options, git-commit-tree has a --message option. I take that as trailer is a convenience option to provide a consistent way to append those details to the commit message. But that doesn't mean it's not part of the commit message, nor that the user shouldn't see it while reviewing the commit message.
https://git-scm.com/docs/git-commit