Use git config --global user.email for email address in automatic Co-authored-by (#32624)

Release Notes:

- Automatic population of `Co-authored-by` now uses `git config --global
user.email`

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
Michael Sloan 2025-06-12 13:39:08 -06:00 committed by GitHub
parent e56a027bea
commit 7d708c14e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 188 additions and 69 deletions

View file

@ -189,6 +189,8 @@ message UpdateProject {
message JoinProject {
uint64 project_id = 1;
optional string committer_email = 2;
optional string committer_name = 3;
}
message JoinProjectResponse {

View file

@ -7,10 +7,10 @@ message PeerId {
}
message User {
reserved 4;
uint64 id = 1;
string github_login = 2;
string avatar_url = 3;
optional string email = 4;
optional string name = 5;
}
@ -24,4 +24,6 @@ message Collaborator {
uint32 replica_id = 2;
uint64 user_id = 3;
bool is_host = 4;
optional string committer_name = 5;
optional string committer_email = 6;
}