2 ms·
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 lossle
by paulddraper 3y ago
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.
git show --diff-algorithm=...