I just looked at your comment again, and the example does make sense, and yes, difftastic should show it as unchanged.
Git deltas are stored as edit instructions and are byte-oriented, not line oriented. There are two edit instructions: COPY and INSERT. The deltas are computed “in reverse” order, with the newest version being the base document and the deltas computed for prior versions.
View all comments
Show parent comment
2
u/TrainsareFascinating Oct 13 '26
I just looked at your comment again, and the example does make sense, and yes, difftastic should show it as unchanged.
Git deltas are stored as edit instructions and are byte-oriented, not line oriented. There are two edit instructions: COPY and INSERT. The deltas are computed “in reverse” order, with the newest version being the base document and the deltas computed for prior versions.