Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delta colors/diff not shown #22

Open
virtuald opened this issue Jun 18, 2017 · 2 comments
Open

Delta colors/diff not shown #22

virtuald opened this issue Jun 18, 2017 · 2 comments

Comments

@virtuald
Copy link

Using a.json and b.json (formatted and sorted so one could use the 'diff' tool against it also), the jd tool does not show a visual difference using colored ascii mode, and the delta mode isn't very useful either.

The output of diff -u on the files is as follows:

@@ -3,10 +3,6 @@
         "FolderShape": {
             "AdditionalProperties": [
                 {
-                    "FieldURI": "folder:ParentFolderId",
-                    "__type": "PathToUnindexedField:#Exchange"
-                },
-                {
                     "PropertyTag": "0x3004",
                     "PropertyType": "String",
                     "__type": "PathToExtendedField:#Exchange"
@@ -22,6 +18,10 @@
                     "PropertySetId": "A7B529B5-4B75-47A7-A24F-20743D6C55CD",
                     "PropertyType": "Integer",
                     "__type": "PathToExtendedField:#Exchange"
+                },
+                {
+                    "FieldURI": "folder:ParentFolderId",
+                    "__type": "PathToUnindexedField:#Exchange"
                 }
             ],
             "BaseShape": "Default",

Json attached to the following gist: https://gist.github.com/virtuald/71fae5b37d63a2bf9f58ac6933edb46e . Thanks for the tool, it's really useful!

@yudai
Copy link
Owner

yudai commented Jun 26, 2017

Hi, did you add the -c option?

@virtuald
Copy link
Author

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants