On Thu, Jun 15, 2017 at 9:20 AM, Edward K. Ream <[email protected]> wrote:
> On Thursday, June 15, 2017 at 9:11:14 AM UTC-5, Edward K. Ream wrote: > > > So now I can pass s1 and s2 to difflib. Mission accomplished. > > Sure, we can use git diff to give us a list of changed blobs (fragments), > but the task of relating them to changed *nodes* is quite another matter, > as you, Terry, have just reminded me. > I was confused. Actually, blobs contain the *entire* file, unadorned with any metadata, as explained clearly in the data structures section of the wikipedia article <https://en.wikipedia.org/wiki/Git#Data_structures>. To do an outline-oriented diff we will need only a thin wrapper around Leo's atFile.read code. The wrapper will create a tree. This *blob tree* will form half the basis of tree comparison code. The other half will come from the existing outline. The code will be similar to the @clean or @shadow code, but simpler. Edward​ -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
