Re:Is Git Irreplaceable? (2019)
by randallsquared on Tuesday January 07, 2020 @12:01AM
(#21977019)
It would have to be specific to certain languages, which would, in turn, hinder adoption of new languages to some degree if the git-next took off. So, I'd prefer not to have that be a feature. :)
[ Parent
| on HN ]
Re:Is Git Irreplaceable? (2019)
by squiggleblaz on Tuesday January 07, 2020 @05:04AM
(#21978550)
I think you could write it as the ability to a diff on a binary ast without fussing too much about what the ast represents. Then you merely need to write a parser/serialiser combo for your language to the ast as a repo plugin.
Otherwise it won't just be new languages which suffer, but users of supported languages will suffer when there's an upgrade.