logoalt Hacker News

flipthefrogyesterday at 9:32 PM6 repliesview on HN

A lot of bitching about Microsoft here, for something Claude has been doing forever. I have a git hook that rejects any commit containing the line Co-authored by Claude


Replies

qezzyesterday at 9:37 PM

That's a fair point, but claude code is not an editor (yet?), and when you use claude code, and allow it to commit things, it's almost certainly "co-authored by llm".

Back to vscode, people get the "co-authored" line even if they didn't use the AI features.

aledujkeyesterday at 9:57 PM

Well claude does it if you ask it to commit instead of you, and it lets you review it, this is not the case with this feature - judging by the comments on PR. Sometimes it says co-authored by copilot even when the code is not generated by AI. Also it will never say co-authored by claude or whatever, always copilot. Also why would my IDE care about this and not the AI itself?

vultouryesterday at 9:42 PM

Are you ashamed of other people finding out you used Claude? I think the co-authored-by bit should not be a setting at all, AI-generated code should be clearly identified.

show 5 replies
tomjakubowskiyesterday at 9:53 PM

I've never had Claude Code in VSCode add attribution to a commit when I didn't use it. VSCode is adding the attribution even when you have all copilot features disabled and therefore could not have used it.

logickkk1today at 12:41 AM

I already added a pre-commit hook to strip this out. Having to defend myself from my own editor is absurd.

kafrofriteyesterday at 9:33 PM

Please do share

show 2 replies