canpolatM to GitEnglish · 9 months agoWhat's the most creative or unconventional use of Git you've encountered?message-squaremessage-square24fedilinkarrow-up151arrow-down11file-text
arrow-up150arrow-down1message-squareWhat's the most creative or unconventional use of Git you've encountered?canpolatM to GitEnglish · 9 months agomessage-square24fedilinkfile-text
minus-squareCorbinlinkfedilinkEnglisharrow-up4·9 months agoI’ve put ASTs directly into git repositories by encoding each leaf as a blob and each tree as a tree. Since git objects are content-addressed, this gives deduplication of ASTs for free, including CSE for sufficiently-pure ASTs.
I’ve put ASTs directly into git repositories by encoding each leaf as a
blob
and each tree as atree
. Since git objects are content-addressed, this gives deduplication of ASTs for free, including CSE for sufficiently-pure ASTs.