{"action":"created","issue":{"url":"https://api.github.com/repos/magit/magit/issues/3200","repository_url":"https://api.github.com/repos/magit/magit","labels_url":"https://api.github.com/repos/magit/magit/issues/3200/labels{/name}","comments_url":"https://api.github.com/repos/magit/magit/issues/3200/comments","events_url":"https://api.github.com/repos/magit/magit/issues/3200/events","html_url":"https://github.com/magit/magit/issues/3200","id":264941817,"node_id":"MDU6SXNzdWUyNjQ5NDE4MTc=","number":3200,"title":"Stash selected files","user":{"login":"bricewge","id":5525646,"node_id":"MDQ6VXNlcjU1MjU2NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/5525646?v=4","gravatar_id":"","url":"https://api.github.com/users/bricewge","html_url":"https://github.com/bricewge","followers_url":"https://api.github.com/users/bricewge/followers","following_url":"https://api.github.com/users/bricewge/following{/other_user}","gists_url":"https://api.github.com/users/bricewge/gists{/gist_id}","starred_url":"https://api.github.com/users/bricewge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bricewge/subscriptions","organizations_url":"https://api.github.com/users/bricewge/orgs","repos_url":"https://api.github.com/users/bricewge/repos","events_url":"https://api.github.com/users/bricewge/events{/privacy}","received_events_url":"https://api.github.com/users/bricewge/received_events","type":"User","site_admin":false},"labels":[{"id":33046,"node_id":"MDU6TGFiZWwzMzA0Ng==","url":"https://api.github.com/repos/magit/magit/labels/feature%20request","name":"feature request","color":"30BB00","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2017-10-12T13:27:17Z","updated_at":"2018-07-16T15:12:40Z","closed_at":"2017-10-20T09:21:26Z","author_association":"NONE","body":"With git `2.1.13` it is possible to stash only specified files with [`git stash push`](https://www.git-scm.com/docs/git-stash#git-stash-push-p--patch-k--no-keep-index-u--include-untracked-a--all-q--quiet-m--messageltmessagegt--ltpathspecgt82308203). It would be nice to have this functionality in Magit too."},"comment":{"url":"https://api.github.com/repos/magit/magit/issues/comments/405281105","html_url":"https://github.com/magit/magit/issues/3200#issuecomment-405281105","issue_url":"https://api.github.com/repos/magit/magit/issues/3200","id":405281105,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTI4MTEwNQ==","user":{"login":"blamario","id":1476416,"node_id":"MDQ6VXNlcjE0NzY0MTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1476416?v=4","gravatar_id":"","url":"https://api.github.com/users/blamario","html_url":"https://github.com/blamario","followers_url":"https://api.github.com/users/blamario/followers","following_url":"https://api.github.com/users/blamario/following{/other_user}","gists_url":"https://api.github.com/users/blamario/gists{/gist_id}","starred_url":"https://api.github.com/users/blamario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blamario/subscriptions","organizations_url":"https://api.github.com/users/blamario/orgs","repos_url":"https://api.github.com/users/blamario/repos","events_url":"https://api.github.com/users/blamario/events{/privacy}","received_events_url":"https://api.github.com/users/blamario/received_events","type":"User","site_admin":false},"created_at":"2018-07-16T15:12:40Z","updated_at":"2018-07-16T15:12:40Z","author_association":"NONE","body":"> It's different from how git does it and therefore potentially unexpected. However \"selecting changes to do something with them\" always works like this in Magit, so it is consistent.\r\n\r\nNot entirely. Magit allows me to hit k on any file, thunk, or selected region and discard all changes within, whether they've been staged or not. The stash operation is conceptually not all that different from kill; when I use `git stash` on the command line, I often use it as an \"undoable kill\". Just compare `git checkout -p` and `git stash -p`. Why should magit support the former but not the latter?\r\n"}}
{"actor":{"display_login":"blamario"}}