this post was submitted on 29 Mar 2024
976 points (98.4% liked)

Programmer Humor

19821 readers
786 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 3 points 8 months ago (1 children)

Some diff tools don't handle indentation by default.

So if you add a wrapper, it counts everything inside it as "changed"

[โ€“] [email protected] 1 points 8 months ago

That's what "toggle whitespace diff" is for.