As a simple fellow programmer, I don't want swear words in code I'm working on either? If it's in the code itself, you should be using better names. If it's in comments, I want information without extraneous modifiers. Not to mention, what one person thinks is an innocent swear might be considered very harsh by others.
There's just no good reason for swear words to be committed. You want to swear about the code, do it in a chat room or something.