{"action":"created","issue":{"url":"https://api.github.com/repos/gitextensions/gitextensions/issues/2857","repository_url":"https://api.github.com/repos/gitextensions/gitextensions","labels_url":"https://api.github.com/repos/gitextensions/gitextensions/issues/2857/labels{/name}","comments_url":"https://api.github.com/repos/gitextensions/gitextensions/issues/2857/comments","events_url":"https://api.github.com/repos/gitextensions/gitextensions/issues/2857/events","html_url":"https://github.com/gitextensions/gitextensions/issues/2857","id":91631409,"number":2857,"title":"Fails to reset selected lines on new files","user":{"login":"MichalisN","id":12886777,"avatar_url":"https://avatars.githubusercontent.com/u/12886777?v=3","gravatar_id":"","url":"https://api.github.com/users/MichalisN","html_url":"https://github.com/MichalisN","followers_url":"https://api.github.com/users/MichalisN/followers","following_url":"https://api.github.com/users/MichalisN/following{/other_user}","gists_url":"https://api.github.com/users/MichalisN/gists{/gist_id}","starred_url":"https://api.github.com/users/MichalisN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichalisN/subscriptions","organizations_url":"https://api.github.com/users/MichalisN/orgs","repos_url":"https://api.github.com/users/MichalisN/repos","events_url":"https://api.github.com/users/MichalisN/events{/privacy}","received_events_url":"https://api.github.com/users/MichalisN/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gitextensions/gitextensions/labels/bug","name":"bug","color":"e10c02"}],"state":"open","locked":false,"assignee":{"login":"jbialobr","id":1003909,"avatar_url":"https://avatars.githubusercontent.com/u/1003909?v=3","gravatar_id":"","url":"https://api.github.com/users/jbialobr","html_url":"https://github.com/jbialobr","followers_url":"https://api.github.com/users/jbialobr/followers","following_url":"https://api.github.com/users/jbialobr/following{/other_user}","gists_url":"https://api.github.com/users/jbialobr/gists{/gist_id}","starred_url":"https://api.github.com/users/jbialobr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbialobr/subscriptions","organizations_url":"https://api.github.com/users/jbialobr/orgs","repos_url":"https://api.github.com/users/jbialobr/repos","events_url":"https://api.github.com/users/jbialobr/events{/privacy}","received_events_url":"https://api.github.com/users/jbialobr/received_events","type":"User","site_admin":false},"assignees":[{"login":"jbialobr","id":1003909,"avatar_url":"https://avatars.githubusercontent.com/u/1003909?v=3","gravatar_id":"","url":"https://api.github.com/users/jbialobr","html_url":"https://github.com/jbialobr","followers_url":"https://api.github.com/users/jbialobr/followers","following_url":"https://api.github.com/users/jbialobr/following{/other_user}","gists_url":"https://api.github.com/users/jbialobr/gists{/gist_id}","starred_url":"https://api.github.com/users/jbialobr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbialobr/subscriptions","organizations_url":"https://api.github.com/users/jbialobr/orgs","repos_url":"https://api.github.com/users/jbialobr/repos","events_url":"https://api.github.com/users/jbialobr/events{/privacy}","received_events_url":"https://api.github.com/users/jbialobr/received_events","type":"User","site_admin":false}],"milestone":null,"comments":12,"created_at":"2015-06-28T19:47:02Z","updated_at":"2016-09-28T14:20:36Z","closed_at":null,"body":"It fails to reset selected lines on newly added files. If the file is staged, reset selected lines is working as expected.\r\n\r\n**Steps to reproduce:**\r\n- Add a new file\r\n- On commit window try to reset selected line(s)\r\n\r\n**Expected result:**\r\nSelected lines are removed\r\n\r\n**Actual result:**\r\nAn error window starting with errors\r\nerror: patch failed: GitExtensions/Program - Copy.cs:0\r\nerror: GitExtensions/Program - Copy.cs: patch does not apply\r\n\r\nand followed by the patch"},"comment":{"url":"https://api.github.com/repos/gitextensions/gitextensions/issues/comments/250180495","html_url":"https://github.com/gitextensions/gitextensions/issues/2857#issuecomment-250180495","issue_url":"https://api.github.com/repos/gitextensions/gitextensions/issues/2857","id":250180495,"user":{"login":"ghanique","id":1777327,"avatar_url":"https://avatars.githubusercontent.com/u/1777327?v=3","gravatar_id":"","url":"https://api.github.com/users/ghanique","html_url":"https://github.com/ghanique","followers_url":"https://api.github.com/users/ghanique/followers","following_url":"https://api.github.com/users/ghanique/following{/other_user}","gists_url":"https://api.github.com/users/ghanique/gists{/gist_id}","starred_url":"https://api.github.com/users/ghanique/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghanique/subscriptions","organizations_url":"https://api.github.com/users/ghanique/orgs","repos_url":"https://api.github.com/users/ghanique/repos","events_url":"https://api.github.com/users/ghanique/events{/privacy}","received_events_url":"https://api.github.com/users/ghanique/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T14:20:35Z","updated_at":"2016-09-28T14:20:35Z","body":"That's it. Thx!\n\nOn Wed, Sep 28, 2016, 14:22 Arkady Shapkin <notifications@github.com> wrote:\n\n> You mean PR #3038\n> <https://github.com/gitextensions/gitextensions/pull/3038>?\n>\n> —\n> You are receiving this because you commented.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/gitextensions/gitextensions/issues/2857#issuecomment-250151379>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/ABser86FL_Qbch7ZFzGI2pRUxoVuRdKjks5qulwZgaJpZM4FNsZK>\n> .\n>\n"}}
{"actor":{"display_login":"ghanique"}}