Hacker News new | ask | show | jobs
by vultour 39 days ago
My colleague had a problem with commit messages, so now they're all written by AI. I don't know what depth of hell he managed to get the prompt from, but they're all now in the format "Updated /path/to/file: fixed issue in thingamabob", which means they're all at least 200 characters long and half of it is the file path, an absolutely pointless thing to put in a commit message. The best part is that whenever you look at GitLab or GitHub, instead of seeing the commit message next to the file you just see the file name again, then the message is cut off.
1 comments

Out of curiosity, with it taking up that much of the message, is it the local file path on their computer?
No, just relative within the repo. Some repositories just happen to have a very deep folder structure.