On Sunday, July 9, 2017 at 7:44:06 AM UTC-5, vitalije wrote:
>
> To my surprise, the resulting diff is even worst than I thought it would 
>> be: 
>> https://github.com/xgid/leo.db-vcs-tests/commit/5648c4ea02c9e1f47efe86ec990fc9aff6554c11?diff=unified
>>
>
> Well I am not satisfied with xml diffs either. 
>

Neither am I.
 

> Some fairly simple changes like sorting siblings can give false impression 
> of massive changes when in fact there is no big difference in code. 
>

Yes.  This is truly annoying.
 

> Those changes should take in to account that editor used was Leo, capable 
> of making such changes. 
>

This is the motivation behind #501: Create outline-oriented git diff 
<https://github.com/leo-editor/leo-editor/issues/501>. It's not labelled as 
"First", but it has the next highest priority.
 

> Diff tools are made with the assumption that editor can either insert 
> lines of code, deletes block of lines or make simple change in a line. They 
> can't express any other kind of change like moving node from one place to 
> another. 
>

Diff tools don't know about gnx's.  Leo can get gnx's from @file files.  
For @clean, Leo can *recreate* gnx's from the outline, just as the @clean 
read/write code does.

This project will be worth any amount of work.

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.

Reply via email to