Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
Description
The possessive form of "its" is frequently written as "it's" in commit messages. In fact, even native English speakers make this mistake, likely because of if its similarity to using apostrophes to show possession in normal nouns. A log of qtbase shows that the best way to find incorrect usage is to search for "it's own". That seems to be the only easily detectable case and a sanity check on that rule would prevent the majority of mistakes.
Alternatively, we could just warn people to decompose "it's" to "it is" in every case, as that will resolve the conflict by requiring users to not use "it's" at all. Judging by the prevalence of correctly used "it's" in the commit log, this would probably be a bad idea and annoy a lot of users.