4 ms·
> Since the first author name is zero characters long, the regex skips that line, and the fake second author line is used instead. Git ignores extra author line
by richbell 3y ago
> Since the first author name is zero characters long, the regex skips that line, and the fake second author line is used instead. Git ignores extra author lines after the first, so Codespaces looks at the second author line but Git looks at the first.
How common is it to have multiple author lines? I haven't seen that before, only co-author footer[1].
[1]: https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors https://docs.github.com/en/pull-requests/committing-changes-...
- avgcorrection 3y agoApparently multiple authors is invalid.[1] [1] https://stackoverflow.com/questions/65445147/how-can-it-be-that-a-commit-object-has-2-authors https://stackoverflow.com/questions/65445147/how-can-it-be-t...