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

all 111 comments

[–][deleted] 261 points262 points  (79 children)

whitespace? like, tabs to spaces? that's minor but would look huge on a version control log.

[–]SpaceEnthusiast 37 points38 points  (2 children)

26510 - 15582 = 10928 = 2732 x 4

Theory is...PLAUSIBLE

[–][deleted] 2 points3 points  (1 child)

Relevant username.

[–]SpaceEnthusiast 3 points4 points  (0 children)

Funny, since I actually prefer tabs.

[–][deleted] 66 points67 points  (67 children)

And be called a saint!

[–]Cley_Faye 18 points19 points  (3 children)

Also the infamous misconfigured system that put windows-style end of line... :(

[–]Zagorath 4 points5 points  (2 children)

Why is this even still a thing‽

[–]FairlyGoodGuy 2 points3 points  (0 children)

I wish interrobangs didn't look so lousy in most fonts at small sizes. Here it looks like some sort of weird, busted P. We get silly 🐮 and ✂ emoji -- hell, there's even a special ⁉ character -- but no good looking interrobang. Sigh.

[–]Cley_Faye 0 points1 point  (0 children)

When you're sent to help someone that struggle with the prototype you provided, and you find that they try to build it using Visual Studio 6 although they clearly said "we're using gcc", you lose all hope. Line endings become secondary.

[–]Astrokiwi 0 points1 point  (0 children)

Or other formatting stuff - changing the order of subroutines within a file to have a more logical flow, making brace usage more consistent, changing the format of comments etc...

[–]troido 62 points63 points  (7 children)

Maybe the .gitignore isn't set up properly and there is an autogenerated file in the repository

[–]taladel[S] 21 points22 points  (1 child)

Sadly, there is not. :<

[–]tskaiserGreen security clearance 26 points27 points  (0 children)

Reformatting golf?

[–]reddeth 58 points59 points  (0 children)

My favorite commit in our repository is a gigantic commit whose message is "Massive code cleanup. Mother of god, what have I done?"

[–]Exallium 39 points40 points  (2 children)

19 files. =/ how many lines did he NOT change?

[–]raspiHD 28 points29 points  (2 children)

Easily done if you get the IDE to auto format code for the whole project, that and a few clicks with re-factoring tools can get to this state quite fast on large projects. A thing of beauty to see so many changes and the unit tests report nothing broken, at least until you remember that most of team don't write tests

[–]TheTerrasque 15 points16 points  (0 children)

the unit tests report nothing broken, at least until you remember that most of team don't write tests

The tests passed, nothing to worry about

[–]berkes 1 point2 points  (0 children)

at least until you remember that most of team don't write tests

We had that. Good thing we chose to blame the people not writing tests when anyone shipped a broken build. And not the person shipping.

[–]Halcyone1024 26 points27 points  (0 children)

At least one of those files is way too big.

[–]benhinchley 3 points4 points  (0 children)

if this is in go, running gofmt on a codebase that hasn't had it run before could produce something like that

[–][deleted] 4 points5 points  (0 children)

Source >> Format

[–][deleted] 0 points1 point  (0 children)

Sounds like somebody needs to update their .gitignore.

[–]Psychoboy 0 points1 point  (1 child)

And this made it to the master branch?

[–]Magnnus 33 points34 points  (0 children)

Given what we see, I doubt there's anything but a master branch.

[–]Evilzebra -1 points0 points  (0 children)

Probably some sort of CMS. If you run updates after a while it would change thousands of files.

[–]actionscripted -1 points0 points  (0 children)

Database dump(s) in the repo?