this post was submitted on 29 Mar 2024
977 points (98.3% liked)

Programmer Humor

19623 readers
2 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] sunbytes@lemmy.world 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"

[โ€“] kamen@lemmy.world 2 points 8 months ago

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