VS Code Inserts 'Co-Authored-by Copilot' into Commits Regardless of Usage
Key point
A regression has surfaced where VS Code adds `Co-authored-by: Copilot` regardless of whether Copilot was actually used.
Details
In PR #310226, the default for git.addAICoAuthor was changed from off to all and merged into main, but this was later acknowledged as a regression and is scheduled to be fixed in 1.119.
The core issue was that when AI-generated code contributions were detected, a Co-authored-by: Copilot trailer was automatically appended to commits. The default value in the package.json schema and the runtime fallback in repository.ts were also inconsistent with each other.
- Some users reproduced the issue where the co-author attribution was added even though they weren't using Copilot or had
chat.disableAIFeaturesturned on. - A VS Code contributor stated that attribution should not be added unless the changes were actually made by AI.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.