Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cli] Show rich diffs for JSON/YAML objects/arrays (#9380)
When displaying a diff between textual values, first try to decode the old and new values as JSON and YAML. If both values decode successfully, render the diff between the decoded values rather than the diff between the text. Fixes #5831.
- Loading branch information
Showing
6 changed files
with
770 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.