payload: {"action":"opened","issue":{"url":"https://api.github.com/repos/Gabriel439/nix-diff/issues/21","repository_url":"https://api.github.com/repos/Gabriel439/nix-diff","labels_url":"https://api.github.com/repos/Gabriel439/nix-diff/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/Gabriel439/nix-diff/issues/21/comments","events_url":"https://api.github.com/repos/Gabriel439/nix-diff/issues/21/events","html_url":"https://github.com/Gabriel439/nix-diff/issues/21","id":479940671,"node_id":"MDU6SXNzdWU0Nzk5NDA2NzE=","number":21,"title":"Unified diff","user":{"login":"nh2","id":399535,"node_id":"MDQ6VXNlcjM5OTUzNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/399535?v=4","gravatar_id":"","url":"https://api.github.com/users/nh2","html_url":"https://github.com/nh2","followers_url":"https://api.github.com/users/nh2/followers","following_url":"https://api.github.com/users/nh2/following{/other_user}","gists_url":"https://api.github.com/users/nh2/gists{/gist_id}","starred_url":"https://api.github.com/users/nh2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nh2/subscriptions","organizations_url":"https://api.github.com/users/nh2/orgs","repos_url":"https://api.github.com/users/nh2/repos","events_url":"https://api.github.com/users/nh2/events{/privacy}","received_events_url":"https://api.github.com/users/nh2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-08-13T03:22:47Z","updated_at":"2019-08-13T03:22:47Z","closed_at":null,"author_association":"NONE","body":"When you use `--color never` (or pipe into `less`) and it's trying to do diffs of strings:\r\n\r\n```\r\n                • The input named `zlib-1.2.11` differs\r\n                  - /nix/store/7azkvrz4q57rx761bpfyhdpyv194zd5c-zlib-1.2.11.drv:{dev}\r\n                  + /nix/store/m12qqq0j6x0grmxwp6my9k61hhxlza4h-zlib-1.2.11.drv:{dev}\r\n                  • The environments do not match:\r\n                      + dontDisableStatic=\r\n                      configureFlags=--s→tatic --s→hared\r\n```\r\n\r\nNotice the `s→tatic --s→hared`.\r\n\r\nI think it would make sense to have a mode that outputs the difference in a non-inline-diff way, e.g. as a unified diff even for just strings.\r\n\r\nIdeally that would work with and without colour."}}
other: {"actor":{"display_login":"nh2"}}