canpolatM to GitEnglish · 11 months agoDo we think of git commits as diffs, snapshots, and/or histories?jvns.caexternal-linkmessage-square7fedilinkarrow-up19arrow-down10
arrow-up19arrow-down1external-linkDo we think of git commits as diffs, snapshots, and/or histories?jvns.cacanpolatM to GitEnglish · 11 months agomessage-square7fedilink
minus-squarejdnewmil@lemmy.calinkfedilinkarrow-up6·11 months agoWho we? I think of them as snapshots organized in a directed acyclic graph (DAG). Diff is only a viewing option, or an optional compression implementation detail in packed history files.
minus-squareTechNom (nobody)linkfedilinkEnglisharrow-up3arrow-down1·11 months ago Diff is only a viewing option It isn’t. Git uses 3-way diff/merge algorithm quite liberally behind the scenes.
Who we?
I think of them as snapshots organized in a directed acyclic graph (DAG).
Diff is only a viewing option, or an optional compression implementation detail in packed history files.
It isn’t. Git uses 3-way diff/merge algorithm quite liberally behind the scenes.