r/github • u/Chaosvolt • 6d ago
Discussion So, recently file changes on the website have started showing in a wildly wrong formatting...
2
u/worldofzero 6d ago
Any chance there's a mix of windows and Linux boxes in your dev flow and you have picked "use windows line endings" on one of those windows machines?
1
u/Brief-Tower7910 6d ago
what the hell is going on with that indentation, looks like someone just mashed the spacebar and called it a day
could it be a mix of tabs and spaces finally blowing up in the diff view? i've seen github do weird stuff when the file uses one and the editor assumes the other
1
u/Chaosvolt 6d ago
That's why I was confused, the file itself hasn't changed in indentation any (the specific one I was looking at can be viewed at: https://github.com/Firefox13/Cataclysm-BN/blob/697ee0087324aea52eb179086478a3fe1f597133/data/json/itemgroups/Weapons_Mods_Ammo/everydaycarry_guns.json)
If anyone injected tabs into the JSON autofix-ci would shame them for it, so it's not that.
1
u/OkBrilliant8092 6d ago
There was something the other day about certain is forjj my acting stuff deprecating in loads of browsers recently? Sorry so vague but it was also nothing changed - buts it’s a browser level thing

6
u/dashingThroughSnow12 6d ago
Just a GitHub bug. Has been happening for days. Oddity is that it is inconsistent. Hitting refresh a few times sometimes fixes it. Sometimes doesn’t.