3 ms·
Git is the one treating code like a text file instead of code.
by thfuran 3mo ago
Git is the one treating code like a text file instead of code.
- UnfitFootprint 3mo agoI pull out difftastic when it’s all too hard for this. Diffs based off tree sitter
- NateEag 3mo agoDon't forget mergiraf, for tree-sitter-based conflict resolution: https://mergiraf.org/ https://mergiraf.org/
- klibertp 3mo agoI absolutely love the images on the landing page. "Inappropriate use of blame, push and pull to resolve a conflict" is pure genius. Even the name had a lot of thought put into it (didn't know about "Giraffe language" before). Beautiful! :)
- NateEag 3mo agoThe documentation is truly a thing of beauty. As someone who learned a lot from Non-Violent Communication, discovering mergiraf went something like > ...oh, cool - I've wanted this for years, great that someone buckled down and wrote it. > > Why 'mergiraf,' though? > > [Sees NVC link on the site] > > ...OH. Conflict resolution through understanding. That's absolutely brilliant, at so many levels.
- skydhash 3mo agoGit 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).