Remix.run Logo
thfuran 4 hours ago

Git is the one treating code like a text file instead of code.

UnfitFootprint 4 hours ago | parent | next [-]

I pull out difftastic when it’s all too hard for this. Diffs based off tree sitter

skydhash 3 hours ago | parent | prev [-]

Git store whole files. The diff and the merge algorithm works by line by default, but that's because line is a rough unit of code (statement, expression, and definition happens mostly within one line).