I often write and see written something like "Fix typo" in commit messages, when the fix was not in fact for a "typographical error". It might have been a duplicate word, a small grammatical problem (perhaps have/has, they're/their), an awkward construction, or a mistaken identifier. Is there a good, compact word or phrase that would describe this more accurately, but perhaps isn't as pretentious and hollow as "Fix minor linguistic problems"?


Solution 1:

For a single generic phrasing, I'd suggest "correct text".

For more specific commit messages, "fix grammar", "fix spelling", "re-word message", or "rewrite text" could all be used.

Solution 2:

The word "typo" is also used as a euphemism for any kind of writing error, especially for grammar errors, because hitting the wrong key is much less humiliating than making an error in grammar. It can be a subtle way of teaching someone a rule of grammar, assuming that he will think "huh?" and look it up if the rule is not mentioned.