{"action":"created","comment":{"url":"https://api.github.com/repos/FredrikNoren/ungit/pulls/comments/80396533","id":80396533,"diff_hunk":"@@ -197,7 +197,8 @@ exports.registerApi = (env) => {\n   });\n \n   app.get(`${exports.pathPrefix}/diff`, ensureAuthenticated, ensurePathExists, (req, res) => {\n-    jsonResultOrFailProm(res, gitPromise.diffFile(req.query.path, req.query.file, req.query.sha1));\n+    var whiteSpace = req.query.whiteSpace === \"true\" ? true : false;","path":"source/git-api.js","position":null,"original_position":5,"commit_id":"f737b71c4f50abc8015f7cf76246d17d31e7e804","original_commit_id":"a79da80f9e84c4b4e92441a980918a95c4902f15","user":{"login":"codingtwinky","id":5281068,"avatar_url":"https://avatars.githubusercontent.com/u/5281068?v=3","gravatar_id":"","url":"https://api.github.com/users/codingtwinky","html_url":"https://github.com/codingtwinky","followers_url":"https://api.github.com/users/codingtwinky/followers","following_url":"https://api.github.com/users/codingtwinky/following{/other_user}","gists_url":"https://api.github.com/users/codingtwinky/gists{/gist_id}","starred_url":"https://api.github.com/users/codingtwinky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codingtwinky/subscriptions","organizations_url":"https://api.github.com/users/codingtwinky/orgs","repos_url":"https://api.github.com/users/codingtwinky/repos","events_url":"https://api.github.com/users/codingtwinky/events{/privacy}","received_events_url":"https://api.github.com/users/codingtwinky/received_events","type":"User","site_admin":false},"body":"I absolutely agree.  And it is now fixed to `isIgnoreWhiteSpace`.","created_at":"2016-09-26T00:38:24Z","updated_at":"2016-09-26T00:38:24Z","html_url":"https://github.com/FredrikNoren/ungit/pull/791#discussion_r80396533","pull_request_url":"https://api.github.com/repos/FredrikNoren/ungit/pulls/791","_links":{"self":{"href":"https://api.github.com/repos/FredrikNoren/ungit/pulls/comments/80396533"},"html":{"href":"https://github.com/FredrikNoren/ungit/pull/791#discussion_r80396533"},"pull_request":{"href":"https://api.github.com/repos/FredrikNoren/ungit/pulls/791"}}},"pull_request":{"url":"https://api.github.com/repos/FredrikNoren/ungit/pulls/791","id":85728916,"html_url":"https://github.com/FredrikNoren/ungit/pull/791","diff_url":"https://github.com/FredrikNoren/ungit/pull/791.diff","patch_url":"https://github.com/FredrikNoren/ungit/pull/791.patch","issue_url":"https://api.github.com/repos/FredrikNoren/ungit/issues/791","number":791,"state":"open","locked":false,"title":"Add whitespace ignore option for file diffs fix: #777","user":{"login":"codingtwinky","id":5281068,"avatar_url":"https://avatars.githubusercontent.com/u/5281068?v=3","gravatar_id":"","url":"https://api.github.com/users/codingtwinky","html_url":"https://github.com/codingtwinky","followers_url":"https://api.github.com/users/codingtwinky/followers","following_url":"https://api.github.com/users/codingtwinky/following{/other_user}","gists_url":"https://api.github.com/users/codingtwinky/gists{/gist_id}","starred_url":"https://api.github.com/users/codingtwinky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codingtwinky/subscriptions","organizations_url":"https://api.github.com/users/codingtwinky/orgs","repos_url":"https://api.github.com/users/codingtwinky/repos","events_url":"https://api.github.com/users/codingtwinky/events{/privacy}","received_events_url":"https://api.github.com/users/codingtwinky/received_events","type":"User","site_admin":false},"body":"- add whitespace ignore option for file diffs\r\n- changed diff option buttons to toggle buttons\r\n- Fixed a nasty [bug](https://github.com/FredrikNoren/ungit/pull/791/commits/430c8d8197a41e36c24d8f624e25902c6491dca1) where recycled text diff object continuously add new subscriptions periodically and causing high number of duplicate API calls being made.","created_at":"2016-09-19T00:50:43Z","updated_at":"2016-09-26T00:38:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d89349adc3fcd4b06d7eb9b279c7521c0cb861c1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/FredrikNoren/ungit/pulls/791/commits","review_comments_url":"https://api.github.com/repos/FredrikNoren/ungit/pulls/791/comments","review_comment_url":"https://api.github.com/repos/FredrikNoren/ungit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FredrikNoren/ungit/issues/791/comments","statuses_url":"https://api.github.com/repos/FredrikNoren/ungit/statuses/f737b71c4f50abc8015f7cf76246d17d31e7e804","head":{"label":"codingtwinky:777","ref":"777","sha":"f737b71c4f50abc8015f7cf76246d17d31e7e804","user":{"login":"codingtwinky","id":5281068,"avatar_url":"https://avatars.githubusercontent.com/u/5281068?v=3","gravatar_id":"","url":"https://api.github.com/users/codingtwinky","html_url":"https://github.com/codingtwinky","followers_url":"https://api.github.com/users/codingtwinky/followers","following_url":"https://api.github.com/users/codingtwinky/following{/other_user}","gists_url":"https://api.github.com/users/codingtwinky/gists{/gist_id}","starred_url":"https://api.github.com/users/codingtwinky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codingtwinky/subscriptions","organizations_url":"https://api.github.com/users/codingtwinky/orgs","repos_url":"https://api.github.com/users/codingtwinky/repos","events_url":"https://api.github.com/users/codingtwinky/events{/privacy}","received_events_url":"https://api.github.com/users/codingtwinky/received_events","type":"User","site_admin":false},"repo":{"id":13315305,"name":"ungit","full_name":"codingtwinky/ungit","owner":{"login":"codingtwinky","id":5281068,"avatar_url":"https://avatars.githubusercontent.com/u/5281068?v=3","gravatar_id":"","url":"https://api.github.com/users/codingtwinky","html_url":"https://github.com/codingtwinky","followers_url":"https://api.github.com/users/codingtwinky/followers","following_url":"https://api.github.com/users/codingtwinky/following{/other_user}","gists_url":"https://api.github.com/users/codingtwinky/gists{/gist_id}","starred_url":"https://api.github.com/users/codingtwinky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codingtwinky/subscriptions","organizations_url":"https://api.github.com/users/codingtwinky/orgs","repos_url":"https://api.github.com/users/codingtwinky/repos","events_url":"https://api.github.com/users/codingtwinky/events{/privacy}","received_events_url":"https://api.github.com/users/codingtwinky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/codingtwinky/ungit","description":"The easiest way to use git. On any platform. Anywhere.","fork":true,"url":"https://api.github.com/repos/codingtwinky/ungit","forks_url":"https://api.github.com/repos/codingtwinky/ungit/forks","keys_url":"https://api.github.com/repos/codingtwinky/ungit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codingtwinky/ungit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codingtwinky/ungit/teams","hooks_url":"https://api.github.com/repos/codingtwinky/ungit/hooks","issue_events_url":"https://api.github.com/repos/codingtwinky/ungit/issues/events{/number}","events_url":"https://api.github.com/repos/codingtwinky/ungit/events","assignees_url":"https://api.github.com/repos/codingtwinky/ungit/assignees{/user}","branches_url":"https://api.github.com/repos/codingtwinky/ungit/branches{/branch}","tags_url":"https://api.github.com/repos/codingtwinky/ungit/tags","blobs_url":"https://api.github.com/repos/codingtwinky/ungit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codingtwinky/ungit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codingtwinky/ungit/git/refs{/sha}","trees_url":"https://api.github.com/repos/codingtwinky/ungit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codingtwinky/ungit/statuses/{sha}","languages_url":"https://api.github.com/repos/codingtwinky/ungit/languages","stargazers_url":"https://api.github.com/repos/codingtwinky/ungit/stargazers","contributors_url":"https://api.github.com/repos/codingtwinky/ungit/contributors","subscribers_url":"https://api.github.com/repos/codingtwinky/ungit/subscribers","subscription_url":"https://api.github.com/repos/codingtwinky/ungit/subscription","commits_url":"https://api.github.com/repos/codingtwinky/ungit/commits{/sha}","git_commits_url":"https://api.github.com/repos/codingtwinky/ungit/git/commits{/sha}","comments_url":"https://api.github.com/repos/codingtwinky/ungit/comments{/number}","issue_comment_url":"https://api.github.com/repos/codingtwinky/ungit/issues/comments{/number}","contents_url":"https://api.github.com/repos/codingtwinky/ungit/contents/{+path}","compare_url":"https://api.github.com/repos/codingtwinky/ungit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codingtwinky/ungit/merges","archive_url":"https://api.github.com/repos/codingtwinky/ungit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codingtwinky/ungit/downloads","issues_url":"https://api.github.com/repos/codingtwinky/ungit/issues{/number}","pulls_url":"https://api.github.com/repos/codingtwinky/ungit/pulls{/number}","milestones_url":"https://api.github.com/repos/codingtwinky/ungit/milestones{/number}","notifications_url":"https://api.github.com/repos/codingtwinky/ungit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codingtwinky/ungit/labels{/name}","releases_url":"https://api.github.com/repos/codingtwinky/ungit/releases{/id}","deployments_url":"https://api.github.com/repos/codingtwinky/ungit/deployments","created_at":"2013-10-04T02:58:11Z","updated_at":"2015-08-22T19:43:50Z","pushed_at":"2016-09-25T23:42:05Z","git_url":"git://github.com/codingtwinky/ungit.git","ssh_url":"git@github.com:codingtwinky/ungit.git","clone_url":"https://github.com/codingtwinky/ungit.git","svn_url":"https://github.com/codingtwinky/ungit","homepage":"","size":13460,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"FredrikNoren:master","ref":"master","sha":"f046525a595acb2241cf956d68e604b49c176b88","user":{"login":"FredrikNoren","id":1288009,"avatar_url":"https://avatars.githubusercontent.com/u/1288009?v=3","gravatar_id":"","url":"https://api.github.com/users/FredrikNoren","html_url":"https://github.com/FredrikNoren","followers_url":"https://api.github.com/users/FredrikNoren/followers","following_url":"https://api.github.com/users/FredrikNoren/following{/other_user}","gists_url":"https://api.github.com/users/FredrikNoren/gists{/gist_id}","starred_url":"https://api.github.com/users/FredrikNoren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FredrikNoren/subscriptions","organizations_url":"https://api.github.com/users/FredrikNoren/orgs","repos_url":"https://api.github.com/users/FredrikNoren/repos","events_url":"https://api.github.com/users/FredrikNoren/events{/privacy}","received_events_url":"https://api.github.com/users/FredrikNoren/received_events","type":"User","site_admin":false},"repo":{"id":10154151,"name":"ungit","full_name":"FredrikNoren/ungit","owner":{"login":"FredrikNoren","id":1288009,"avatar_url":"https://avatars.githubusercontent.com/u/1288009?v=3","gravatar_id":"","url":"https://api.github.com/users/FredrikNoren","html_url":"https://github.com/FredrikNoren","followers_url":"https://api.github.com/users/FredrikNoren/followers","following_url":"https://api.github.com/users/FredrikNoren/following{/other_user}","gists_url":"https://api.github.com/users/FredrikNoren/gists{/gist_id}","starred_url":"https://api.github.com/users/FredrikNoren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FredrikNoren/subscriptions","organizations_url":"https://api.github.com/users/FredrikNoren/orgs","repos_url":"https://api.github.com/users/FredrikNoren/repos","events_url":"https://api.github.com/users/FredrikNoren/events{/privacy}","received_events_url":"https://api.github.com/users/FredrikNoren/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FredrikNoren/ungit","description":"The easiest way to use git. On any platform. Anywhere.","fork":false,"url":"https://api.github.com/repos/FredrikNoren/ungit","forks_url":"https://api.github.com/repos/FredrikNoren/ungit/forks","keys_url":"https://api.github.com/repos/FredrikNoren/ungit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FredrikNoren/ungit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FredrikNoren/ungit/teams","hooks_url":"https://api.github.com/repos/FredrikNoren/ungit/hooks","issue_events_url":"https://api.github.com/repos/FredrikNoren/ungit/issues/events{/number}","events_url":"https://api.github.com/repos/FredrikNoren/ungit/events","assignees_url":"https://api.github.com/repos/FredrikNoren/ungit/assignees{/user}","branches_url":"https://api.github.com/repos/FredrikNoren/ungit/branches{/branch}","tags_url":"https://api.github.com/repos/FredrikNoren/ungit/tags","blobs_url":"https://api.github.com/repos/FredrikNoren/ungit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FredrikNoren/ungit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FredrikNoren/ungit/git/refs{/sha}","trees_url":"https://api.github.com/repos/FredrikNoren/ungit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FredrikNoren/ungit/statuses/{sha}","languages_url":"https://api.github.com/repos/FredrikNoren/ungit/languages","stargazers_url":"https://api.github.com/repos/FredrikNoren/ungit/stargazers","contributors_url":"https://api.github.com/repos/FredrikNoren/ungit/contributors","subscribers_url":"https://api.github.com/repos/FredrikNoren/ungit/subscribers","subscription_url":"https://api.github.com/repos/FredrikNoren/ungit/subscription","commits_url":"https://api.github.com/repos/FredrikNoren/ungit/commits{/sha}","git_commits_url":"https://api.github.com/repos/FredrikNoren/ungit/git/commits{/sha}","comments_url":"https://api.github.com/repos/FredrikNoren/ungit/comments{/number}","issue_comment_url":"https://api.github.com/repos/FredrikNoren/ungit/issues/comments{/number}","contents_url":"https://api.github.com/repos/FredrikNoren/ungit/contents/{+path}","compare_url":"https://api.github.com/repos/FredrikNoren/ungit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FredrikNoren/ungit/merges","archive_url":"https://api.github.com/repos/FredrikNoren/ungit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FredrikNoren/ungit/downloads","issues_url":"https://api.github.com/repos/FredrikNoren/ungit/issues{/number}","pulls_url":"https://api.github.com/repos/FredrikNoren/ungit/pulls{/number}","milestones_url":"https://api.github.com/repos/FredrikNoren/ungit/milestones{/number}","notifications_url":"https://api.github.com/repos/FredrikNoren/ungit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FredrikNoren/ungit/labels{/name}","releases_url":"https://api.github.com/repos/FredrikNoren/ungit/releases{/id}","deployments_url":"https://api.github.com/repos/FredrikNoren/ungit/deployments","created_at":"2013-05-19T10:44:44Z","updated_at":"2016-09-25T21:06:13Z","pushed_at":"2016-09-25T23:42:06Z","git_url":"git://github.com/FredrikNoren/ungit.git","ssh_url":"git@github.com:FredrikNoren/ungit.git","clone_url":"https://github.com/FredrikNoren/ungit.git","svn_url":"https://github.com/FredrikNoren/ungit","homepage":"","size":16601,"stargazers_count":6881,"watchers_count":6881,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":402,"mirror_url":null,"open_issues_count":125,"forks":402,"open_issues":125,"watchers":6881,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FredrikNoren/ungit/pulls/791"},"html":{"href":"https://github.com/FredrikNoren/ungit/pull/791"},"issue":{"href":"https://api.github.com/repos/FredrikNoren/ungit/issues/791"},"comments":{"href":"https://api.github.com/repos/FredrikNoren/ungit/issues/791/comments"},"review_comments":{"href":"https://api.github.com/repos/FredrikNoren/ungit/pulls/791/comments"},"review_comment":{"href":"https://api.github.com/repos/FredrikNoren/ungit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FredrikNoren/ungit/pulls/791/commits"},"statuses":{"href":"https://api.github.com/repos/FredrikNoren/ungit/statuses/f737b71c4f50abc8015f7cf76246d17d31e7e804"}}}}
{"actor":{"display_login":"codingtwinky"}}