Comments
Sort by recent activity
Now that I think about it, this is not a workaround. Imho, this is the optimal solution. / comments
Now that I think about it, this is not a workaround. Imho, this is the optimal solution.
Hey Chris,
thanks for the explanation. I fully understand the issue.
I propose a workaround: Match all objects by name into pairs, then let the text diff engine run only on pairs of identically named objects. Then concatenate the individual diffs to one big diff which will now show up correctly. This approach requires only little code changes, certainly no rewrite of the diff engine or the text display component.
This approach also removes the need to reordering, which, as you stated, does not always work in case of insertions and deletions.
Finally, as a motivation to implement this: When using big tables you cannot always just execute the synchronization. Instead you have to cherry-pick the changes and apply only those which can run online or are very fast. Cherry-picking is currently very cumbersome, it would be trivial with a working diff. / comments
Hey Chris,
thanks for the explanation. I fully understand the issue.
I propose a workaround: Match all objects by name into pairs, then let the text diff engine run only on pairs of identically nam...
Thanks. / comments
Thanks.