{"action":"closed","issue":{"url":"https://api.github.com/repos/divmain/GitSavvy/issues/67","labels_url":"https://api.github.com/repos/divmain/GitSavvy/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/divmain/GitSavvy/issues/67/comments","events_url":"https://api.github.com/repos/divmain/GitSavvy/issues/67/events","html_url":"https://github.com/divmain/GitSavvy/issues/67","id":60503424,"number":67,"title":"Discarding accidentally, too easy","user":{"login":"hanoii","id":677879,"avatar_url":"https://avatars.githubusercontent.com/u/677879?v=3","gravatar_id":"","url":"https://api.github.com/users/hanoii","html_url":"https://github.com/hanoii","followers_url":"https://api.github.com/users/hanoii/followers","following_url":"https://api.github.com/users/hanoii/following{/other_user}","gists_url":"https://api.github.com/users/hanoii/gists{/gist_id}","starred_url":"https://api.github.com/users/hanoii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanoii/subscriptions","organizations_url":"https://api.github.com/users/hanoii/orgs","repos_url":"https://api.github.com/users/hanoii/repos","events_url":"https://api.github.com/users/hanoii/events{/privacy}","received_events_url":"https://api.github.com/users/hanoii/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-10T14:01:31Z","updated_at":"2015-03-10T14:35:49Z","closed_at":"2015-03-10T14:35:49Z","body":"I really like this plugin, however, since I installed it this weekend, I accidentally discarded two files. I know this is more an error from me than the plugin, but it's just to easy to type 'd' and discard it. The first time I was trying to discard a stash, but somehow, as I didn't had the cursor on the stash, typing [t][d] on a file actually discarded the file.\r\n\r\nToday I hit d thinking of diff, and again!\r\n\r\nI don't know, it should be more difficult to discard a file. Maybe asking for a confirmation in a window, or at least making this confirmation configurable.\r\n\r\nOn thing is to type git checkout to discard and another is hitting 'd'. "}}