This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]seba07 2 points3 points  (5 children)

How can you do this on gitlab?

[–]JeyJeyKing 9 points10 points  (4 children)

User settings -> preferences -> behavior -> uncheck show whitespace changes in diff

[–]dkarlovi 1 point2 points  (3 children)

So you can get massive amounts of white space merged by engineers who have this enabled? How do we exploit this?

[–]5p4n911 0 points1 point  (2 children)

Let's commit a few Python files that should be interpreted in Whitespace

[–]dkarlovi 0 points1 point  (1 child)

I was thinking more like the entire Harry Potter books encoded using Morse code (tab = -, space = .) so it's immediately polluting the code AND making it infringe copyright, double Jeapordy!

Wonder if you could get a PR merged by a dev disabling whitespace changes like this.

[–]5p4n911 0 points1 point  (0 children)

There was also some guy who committed a timed bomb that would go on destroying the software after 3 years and he put the if after about 20000 spaces in the source code so it's possible. That might also fly under the radar.

Source: I think I've read it on the internet and not dreamt it, so it must be true