Menu

Update on "Co-authored-by: Copilot" in commit messages
📰

Update on "Co-authored-by: Copilot" in commit messages

GitHub·dmitrivMS·6 months ago
#2wFFVFUA
Reading 0:00
15s threshold

What happened?

In 1.110, we added a setting to add Copilot as coauthor in commit messages by appending Co-authored-by: Copilot [email protected] . The setting git.addAICoAuthor has three different values:

off - no attribution no matter whether Copilot assisted or not with the code in this commit

chatAndAgent - add attribution if the commit contains code that was generated using the chat feature

all - add attribution if the commit contains any kind of AI-generated code (chat, inline completions, NES)

The default value of the setting was off .

In 1.117 (public rollout started 4/22), we changed the setting default to all . There was a bug in the code that was not found in testing that attributed non-Copilot code completions to Copilot. This resulted in commit messages containing Co-authored-by: Copilot [email protected] even when the disableAIfeatures setting was turned on.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.