You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes a environment diff is actual plain json, diffed on one big single row.
As a result an entire screen is coloured red/green without really helpful semantics.
Even the --character-oriented is not really of great help at times (when the diff is a little bigger).
Since these tools are no haskell, a good way would be to optionally write files with old/new environments to disk, it then becomes trivial to do the semantic diffing by hand.
The text was updated successfully, but these errors were encountered:
Yeah, we run into this same issue at work, too where the diff fares poorly on large JSON files. The tool can probably auto-detect JSON and use a more intelligent diff for that case
A colleague just hinted me at https://github.com/jeffkaufman/icdiff -- which I happily forward really just for general knowledge & inspiration in the context of this issue.
Sometimes a environment diff is actual plain json, diffed on one big single row.
As a result an entire screen is coloured red/green without really helpful semantics.
Even the
--character-oriented
is not really of great help at times (when the diff is a little bigger).It might be possible to use something like https://github.com/josephburnett/jd to make the result more intelligible.
Since these tools are no haskell, a good way would be to optionally write files with old/new environments to disk, it then becomes trivial to do the semantic diffing by hand.
The text was updated successfully, but these errors were encountered: