Remix.run Logo
odvcencio 2 hours ago

primarily, got is structural VCS intended for concurrent edits of the same file.

it does this via gotreesitter and gts-suite abstractions that enable it to: - have entity-aware diffs - not line by line but function by function - structural blame - attribution resolution for the lifetime of the entity - semver from structure - it can recommend bumps because it knows what is breaking change vs minor vs patch - entity history - because entities are tracked independently, file renames or moves dont affect the entity's history

when gotreesitter cant parse a language, the 3way text merge happens as a fallback. what the structural merge enables is no conflicts unless same entity has conflicting changes

gritzko 2 hours ago | parent | next [-]

I think I understand the situation.

odvcencio 2 hours ago | parent | prev [-]

gah,. sincere apologies for formatting of this post. i ahve been on HN for basically 10 years now without ever having made a post (:

dorianmariecom 2 hours ago | parent [-]

use four spaces " " in front of a line for <pre> formatting

    like "    this"
srcreigh 2 hours ago | parent [-]

It's 2 or more spaces, not four