{"action":"created","issue":{"url":"https://api.github.com/repos/odeke-em/drive/issues/494","labels_url":"https://api.github.com/repos/odeke-em/drive/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/odeke-em/drive/issues/494/comments","events_url":"https://api.github.com/repos/odeke-em/drive/issues/494/events","html_url":"https://github.com/odeke-em/drive/issues/494","id":118998466,"number":494,"title":"diff: switch to create unified diff","user":{"login":"monojp","id":5738896,"avatar_url":"https://avatars.githubusercontent.com/u/5738896?v=3","gravatar_id":"","url":"https://api.github.com/users/monojp","html_url":"https://github.com/monojp","followers_url":"https://api.github.com/users/monojp/followers","following_url":"https://api.github.com/users/monojp/following{/other_user}","gists_url":"https://api.github.com/users/monojp/gists{/gist_id}","starred_url":"https://api.github.com/users/monojp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monojp/subscriptions","organizations_url":"https://api.github.com/users/monojp/orgs","repos_url":"https://api.github.com/users/monojp/repos","events_url":"https://api.github.com/users/monojp/events{/privacy}","received_events_url":"https://api.github.com/users/monojp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/odeke-em/drive/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"odeke-em","id":4898263,"avatar_url":"https://avatars.githubusercontent.com/u/4898263?v=3","gravatar_id":"","url":"https://api.github.com/users/odeke-em","html_url":"https://github.com/odeke-em","followers_url":"https://api.github.com/users/odeke-em/followers","following_url":"https://api.github.com/users/odeke-em/following{/other_user}","gists_url":"https://api.github.com/users/odeke-em/gists{/gist_id}","starred_url":"https://api.github.com/users/odeke-em/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odeke-em/subscriptions","organizations_url":"https://api.github.com/users/odeke-em/orgs","repos_url":"https://api.github.com/users/odeke-em/repos","events_url":"https://api.github.com/users/odeke-em/events{/privacy}","received_events_url":"https://api.github.com/users/odeke-em/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/odeke-em/drive/milestones/20","html_url":"https://github.com/odeke-em/drive/milestones/v0.3.4","labels_url":"https://api.github.com/repos/odeke-em/drive/milestones/20/labels","id":1424886,"number":20,"title":"v0.3.4","description":"","creator":{"login":"odeke-em","id":4898263,"avatar_url":"https://avatars.githubusercontent.com/u/4898263?v=3","gravatar_id":"","url":"https://api.github.com/users/odeke-em","html_url":"https://github.com/odeke-em","followers_url":"https://api.github.com/users/odeke-em/followers","following_url":"https://api.github.com/users/odeke-em/following{/other_user}","gists_url":"https://api.github.com/users/odeke-em/gists{/gist_id}","starred_url":"https://api.github.com/users/odeke-em/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odeke-em/subscriptions","organizations_url":"https://api.github.com/users/odeke-em/orgs","repos_url":"https://api.github.com/users/odeke-em/repos","events_url":"https://api.github.com/users/odeke-em/events{/privacy}","received_events_url":"https://api.github.com/users/odeke-em/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"open","created_at":"2015-11-23T11:51:18Z","updated_at":"2015-11-27T21:56:42Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-11-26T08:47:44Z","updated_at":"2015-11-29T18:21:57Z","closed_at":"2015-11-26T17:58:28Z","body":"Hi, sorry if this has already been mentioned before, I didn't find it although it may be related or a addition to #122.\r\n\r\nWhat I think would be a nice feature is a unified diff output. Just like calling \"diff\" with the -u parameter which should create a diff that could also been used as input for \"patch\". Could this possibly be implemented by specifying another argument together with \"drive diff\"? I think this would make the diff output of drive more exchangeable (e.g. I am syncing config files and sometimes it would help to be able to create simple patches from drive).\r\nOn the other handy I just prefer reading diffs in the unified format, so it may be a nice additional output feature for some users."},"comment":{"url":"https://api.github.com/repos/odeke-em/drive/issues/comments/160442174","html_url":"https://github.com/odeke-em/drive/issues/494#issuecomment-160442174","issue_url":"https://api.github.com/repos/odeke-em/drive/issues/494","id":160442174,"user":{"login":"monojp","id":5738896,"avatar_url":"https://avatars.githubusercontent.com/u/5738896?v=3","gravatar_id":"","url":"https://api.github.com/users/monojp","html_url":"https://github.com/monojp","followers_url":"https://api.github.com/users/monojp/followers","following_url":"https://api.github.com/users/monojp/following{/other_user}","gists_url":"https://api.github.com/users/monojp/gists{/gist_id}","starred_url":"https://api.github.com/users/monojp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monojp/subscriptions","organizations_url":"https://api.github.com/users/monojp/orgs","repos_url":"https://api.github.com/users/monojp/repos","events_url":"https://api.github.com/users/monojp/events{/privacy}","received_events_url":"https://api.github.com/users/monojp/received_events","type":"User","site_admin":false},"created_at":"2015-11-29T18:21:57Z","updated_at":"2015-11-29T18:21:57Z","body":"Sure, no problem. Will do that when I get home. Thx for looking into it.\nOn Nov 29, 2015 19:16, \"Emmanuel T Odeke\" <notifications@github.com> wrote:\n\n> Hello again @monojp <https://github.com/monojp>, aha you read my mind. I\n> was thinking of making the base diff switchable so you could decide whether\n> to use remote or to use local as the base, that same day that I added in\n> your first request. However, after that class session that morning, the day\n> got busier and I wasn't able to use my computer.\n> Would you mind creating a new issue for this?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/odeke-em/drive/issues/494#issuecomment-160441932>.\n>\n"}}