{"action":"opened","issue":{"url":"https://api.github.com/repos/desktop/desktop/issues/6510","repository_url":"https://api.github.com/repos/desktop/desktop","labels_url":"https://api.github.com/repos/desktop/desktop/issues/6510/labels{/name}","comments_url":"https://api.github.com/repos/desktop/desktop/issues/6510/comments","events_url":"https://api.github.com/repos/desktop/desktop/issues/6510/events","html_url":"https://github.com/desktop/desktop/issues/6510","id":394816869,"node_id":"MDU6SXNzdWUzOTQ4MTY4Njk=","number":6510,"title":"Cannot add/remove patch on large diff","user":{"login":"PatMyron","id":7014355,"node_id":"MDQ6VXNlcjcwMTQzNTU=","avatar_url":"https://avatars3.githubusercontent.com/u/7014355?v=4","gravatar_id":"","url":"https://api.github.com/users/PatMyron","html_url":"https://github.com/PatMyron","followers_url":"https://api.github.com/users/PatMyron/followers","following_url":"https://api.github.com/users/PatMyron/following{/other_user}","gists_url":"https://api.github.com/users/PatMyron/gists{/gist_id}","starred_url":"https://api.github.com/users/PatMyron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatMyron/subscriptions","organizations_url":"https://api.github.com/users/PatMyron/orgs","repos_url":"https://api.github.com/users/PatMyron/repos","events_url":"https://api.github.com/users/PatMyron/events{/privacy}","received_events_url":"https://api.github.com/users/PatMyron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-29T18:50:21Z","updated_at":"2018-12-29T18:50:21Z","closed_at":null,"author_association":"NONE","body":"## Description\r\n\r\nAfter expanding a large diff that was not displayed by default, I was unable to add or remove specific hunks of a file diff from being including in a commit\r\n\r\n## Version\r\n\r\n* GitHub Desktop:\r\nVersion 1.5.1\r\n\r\n* Operating system:\r\nMacOS 10.14.2\r\n\r\n\r\n## Steps to Reproduce\r\nThis is the large hunk that was being committed:\r\nhttps://github.com/PatMyron/advent-of-code/commit/27573a3955ac6ee1eef333369443f3c63447800d\r\nThere was also a small hunk later in the file I was trying to ignore for this commit\r\n\r\n### Expected Behavior\r\nI expected to be able to click near the line numbers to include part of a file diff in a commit\r\n### Actual Behavior\r\nI had to run this on the command line instead:\r\n`~/Documents/GitHub/advent-of-code/2018 $ git add -p 5.py`\r\n[output](https://github.com/desktop/desktop/files/2716634/commandLineGit.txt)\r\n\r\n\r\n\r\n## Additional Information\r\n<!--\r\nPlace any additional information, configuration, or data that might be necessary to reproduce the issue **below** this comment.\r\n\r\nIf you have screen shots or gifs that demonstrate the issue, please include them.\r\n\r\nIf the issue involves a specific public repository, including the information about it will make it easier to recreate the issue.\r\n-->\r\n\r\n### Logs\r\n[2018-12-28.desktop.production.log](https://github.com/desktop/desktop/files/2716620/2018-12-28.desktop.production.log)\r\n[2018-12-29.desktop.production.log](https://github.com/desktop/desktop/files/2716621/2018-12-29.desktop.production.log)\r\n\r\n"}}
{"actor":{"display_login":"PatMyron"}}