973
Review Please (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] sunbytes@lemmy.world 3 points 5 months ago

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 5 months ago

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

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

Programmer Humor

19207 readers
1310 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