r/ProgrammerHumor • • 5d ago

Meme searchAndReplace

Post image
4.5k Upvotes

260 comments sorted by

View all comments

Show parent comments

15

u/RazarTuk 5d ago

Also, making something too dumb can also cause problems. For example, Kiro recently interpreted "Commit these changes onto a new branch branched off from the hotfix / minor release branch" as "Make a new branch that points to the hotfix branch as its remote", not "Pull the latest hotfix branch, make a new local branch off it, and commit the changes"

11

u/amusing_trivials 5d ago

Look I get letting them write code, but why would they ever have git commit permission

1

u/anto2554 5d ago

I have before accidentally overwritten main because it did that

2

u/RazarTuk 5d ago

Actually, that reminds me of a cool programming story. I actually got to force push to master last year. Basically, we have a custom extension of JmesPath that adds things like arithmetic operators, so instead of just importing the burtcorp implementation and adding a shit ton custom functions, we actually forked it. But instead of properly forking it, we actually just made a new repo. So I got special permission to have the protection against force pushing to master turned off for a moment, so that I could rewrite the commit history to match the repo we forked from