Re:Git Branches: Intuition and Reality
by paulddraper on Thursday November 23, 2023 @11:06AM
(#38394260)
Git doesn't store any individual changes: files moved, lines added, line deleted, etc.
It stores a commit graph, and a tree at each of those commits. (A lossless compression algorithm deduplicates information.)
There's no need for the author to be concerned with what diffing information gets incorporated into the commit. Diffs are up to the viewer of the commit history.
It stores a commit graph, and a tree at each of those commits. (A lossless compression algorithm deduplicates information.)
There's no need for the author to be concerned with what diffing information gets incorporated into the commit. Diffs are up to the viewer of the commit history.