[Qt-creator] gerrit ws-only

Oswald Buddenhagen oswald.buddenhagen at nokia.com
Wed Nov 16 12:20:40 CET 2011


On 11/15/11 19:59, ext Tom Deblauwe wrote:
> Hello,
>
> I'm trying to figure out what gerrit means with this error message of the sanitize bot:
>
> - Mixing whitespace-only changes with other changes
>
> I have the problem that there are a bunch of foreach() statements in a file. I made changes to this file, but not to the existing foreach() statements. Then I submit, and I get a complaint about the fact that the "foreach" keyword must be followed by a space. So I change this, and then I get the mixing whitespace only error message. How do I solve it?
>
that most likely means that your editor removed some trailing 
whitespace. you can see that (and avoid committing it) in git gui.
in the longer term, use a sane editor (qt creator) in a sane 
configuration (the defaults) to avoid this problem.



More information about the Qt-creator mailing list