Q&A highlight
Postedabout 2 months agoActiveabout 2 months ago
Ask HN: I forgot to remove a swear word from a PR and it got merged. What now?
professionalismversion controlopen-source
Ask HN: I forgot to remove a swear word from a PR and it got merged. What now?
No synthesized answer yet. Check the discussion below.
Discussion (8 comments)
Showing 8 comments
It's a personal preference, but you could choose to leave it as-is. Linux, for example, has swear words.
https://www.vidarholen.net/contents/wordcount/#fuck*,shit*,d...
about 2 months ago
this is hilarious...
Your HN profile contains significant professional info. This is a group that might look up your commits to see how bad a word it is. For example, it's 4:30am and I myself am responding to your question out of boredom. If this post makes it to the top of HN, you could well be outed. You will be eventually. Will anyone care?
I'd say leave alone, but... By publicizing this in the first place, you will be contributing to a notion among the puerile that "I can add cuss words to my PR, this guy did". Which maybe doesn't matter that much? Does anyone care?
Is it colorful? What's it aimed at?
about 2 months ago
> If this post makes it to the top of HN, you could well be outed. You will be eventually.
At least it will be funny then...
> Is it colorful? What's it aimed at?
It's just a single "dick" in Polish inserted in a debug logging statement
Well I was going to suggest changing a single letter on the word to make it non-offensive and put "typo" in the PR message but if it's the four-letter word that I'm thinking of your options are rather limited!
about 2 months ago
Just remove the word, but use an innocent title like "Fix typo". Write a short explanation in the PR.
about 2 months ago
Pretend like it didn't happen.
about 2 months ago
Request a MASSIVE new PR with groundbreaking new changes and bury the mishap in thousands of new additions ;-) or.. keep it in an present as a feature rather than anything malicious .. haha..