logoalt Hacker News

tlnyesterday at 10:15 PM2 repliesview on HN

The sneaky commit modification is triggered by very modest usage of AI such as auto-completion.

Look, if an agent writes the code and the commit message then adding a Co-authored-by by default is ok. Not even showing it before the commit is made is not, and adding the message when AI was just completing code is not.


Replies

bojanyesterday at 10:39 PM

I genuinely think it's not ok even then. Copilot is a tool, one of many I use. That tool has no business polluting commit messages without my knowledge.

The appended message isn't even adding any new information, as in this day and age a vast majority of commits is probably "co-authored" by an LLM.

show 1 reply
AlienRobotyesterday at 10:24 PM

Glorified autocomplete, syntax reminder and random snippet generator thinks it's co-authoring things.