{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/nbdime/issues/44","repository_url":"https://api.github.com/repos/jupyter/nbdime","labels_url":"https://api.github.com/repos/jupyter/nbdime/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/nbdime/issues/44/comments","events_url":"https://api.github.com/repos/jupyter/nbdime/issues/44/events","html_url":"https://github.com/jupyter/nbdime/pull/44","id":152811794,"number":44,"title":"Git diff driver","user":{"login":"vidartf","id":510760,"avatar_url":"https://avatars.githubusercontent.com/u/510760?v=3","gravatar_id":"","url":"https://api.github.com/users/vidartf","html_url":"https://github.com/vidartf","followers_url":"https://api.github.com/users/vidartf/followers","following_url":"https://api.github.com/users/vidartf/following{/other_user}","gists_url":"https://api.github.com/users/vidartf/gists{/gist_id}","starred_url":"https://api.github.com/users/vidartf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidartf/subscriptions","organizations_url":"https://api.github.com/users/vidartf/orgs","repos_url":"https://api.github.com/users/vidartf/repos","events_url":"https://api.github.com/users/vidartf/events{/privacy}","received_events_url":"https://api.github.com/users/vidartf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-03T16:04:23Z","updated_at":"2016-05-03T16:25:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jupyter/nbdime/pulls/44","html_url":"https://github.com/jupyter/nbdime/pull/44","diff_url":"https://github.com/jupyter/nbdime/pull/44.diff","patch_url":"https://github.com/jupyter/nbdime/pull/44.patch"},"body":"Adds a notebook diff driver for git, which produces a diff for notebooks only. This can be used by `git diff` (as compared to `git difftool`), and relies on filename filtering in `.gitattributes` to be supplied the right files. The `.gitattributes`need to be configured for each repo, but the line included in this PR's `.gitattributes` file should be sufficient (`*.ipynb\tdiff=jupyternotebook`).\r\n\r\nAlso added a test that mocks a call by git to the diff driver, comparing the output. Currently it has to use coloring characters to match the captured output, but I'm not sure if this is correct/expected for all setups?"},"comment":{"url":"https://api.github.com/repos/jupyter/nbdime/issues/comments/216584526","html_url":"https://github.com/jupyter/nbdime/pull/44#issuecomment-216584526","issue_url":"https://api.github.com/repos/jupyter/nbdime/issues/44","id":216584526,"user":{"login":"codecov-io","id":8655789,"avatar_url":"https://avatars.githubusercontent.com/u/8655789?v=3","gravatar_id":"","url":"https://api.github.com/users/codecov-io","html_url":"https://github.com/codecov-io","followers_url":"https://api.github.com/users/codecov-io/followers","following_url":"https://api.github.com/users/codecov-io/following{/other_user}","gists_url":"https://api.github.com/users/codecov-io/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov-io/subscriptions","organizations_url":"https://api.github.com/users/codecov-io/orgs","repos_url":"https://api.github.com/users/codecov-io/repos","events_url":"https://api.github.com/users/codecov-io/events{/privacy}","received_events_url":"https://api.github.com/users/codecov-io/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T16:25:19Z","updated_at":"2016-05-03T16:25:19Z","body":"## [Current coverage][cc-pull] is **77.17%**\n> Merging [#44][cc-pull] into [master][cc-base-branch] will increase coverage by **-0.31%**\n\n1. 2 files (not in diff) in `nbdime` were modified. [more](https://codecov.io/gh/jupyter/nbdime/commit/c9cd8c6facdbacb1f512736fb9f7f84d95d33b6b/changes?src=pr#6E6264696D65) \n  - Misses `+2` \n  - Hits `-2`\n\n```diff\n@@           master        #44   diff @@\n========================================\n  Files          25         26     +1   \n  Lines        1546       1590    +44   \n  Methods         0          0          \n  Branches        0          0          \n========================================\n+ Hits         1198       1227    +29   \n- Misses        348        363    +15   \n  Partials        0          0          \n```\n\n> Powered by [Codecov](https://codecov.io?src=pr). Last updated by [cc31347...c9cd8c6][cc-compare]\n[cc-base-branch]: https://codecov.io/gh/jupyter/nbdime/branch/master?src=pr\n[cc-compare]: https://codecov.io/gh/jupyter/nbdime/compare/cc31347df94b33d91946bc81f3bc32234d944d4f...c9cd8c6facdbacb1f512736fb9f7f84d95d33b6b\n[cc-pull]: https://codecov.io/gh/jupyter/nbdime/pull/44?src=pr"}}