r/Common_Lisp • • Oct 11 '26

Gitlab and Git in Common Lisp

http://anvil.common-lisp.net/clo/anvil
16 Upvotes

17 comments sorted by

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.