{"action":"created","issue":{"url":"https://api.github.com/repos/magit/magit/issues/1759","labels_url":"https://api.github.com/repos/magit/magit/issues/1759/labels{/name}","comments_url":"https://api.github.com/repos/magit/magit/issues/1759/comments","events_url":"https://api.github.com/repos/magit/magit/issues/1759/events","html_url":"https://github.com/magit/magit/issues/1759","id":60441760,"number":1759,"title":"Question : How does magit stage via status diff + region.","user":{"login":"jasonm23","id":71587,"avatar_url":"https://avatars.githubusercontent.com/u/71587?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonm23","html_url":"https://github.com/jasonm23","followers_url":"https://api.github.com/users/jasonm23/followers","following_url":"https://api.github.com/users/jasonm23/following{/other_user}","gists_url":"https://api.github.com/users/jasonm23/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonm23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonm23/subscriptions","organizations_url":"https://api.github.com/users/jasonm23/orgs","repos_url":"https://api.github.com/users/jasonm23/repos","events_url":"https://api.github.com/users/jasonm23/events{/privacy}","received_events_url":"https://api.github.com/users/jasonm23/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-10T02:30:02Z","updated_at":"2015-03-10T07:45:37Z","closed_at":"2015-03-10T07:45:37Z","body":"This is a question about the internals and interfacing with git.  (as opposed to how do I do this using Magit.) (which for anyone who ever googles this by mistake: https://vid.me/8qi5)\r\n\r\nWhat exactly does magit do with git for this action?"},"comment":{"url":"https://api.github.com/repos/magit/magit/issues/comments/78008463","html_url":"https://github.com/magit/magit/issues/1759#issuecomment-78008463","issue_url":"https://api.github.com/repos/magit/magit/issues/1759","id":78008463,"user":{"login":"vanicat","id":24989,"avatar_url":"https://avatars.githubusercontent.com/u/24989?v=3","gravatar_id":"","url":"https://api.github.com/users/vanicat","html_url":"https://github.com/vanicat","followers_url":"https://api.github.com/users/vanicat/followers","following_url":"https://api.github.com/users/vanicat/following{/other_user}","gists_url":"https://api.github.com/users/vanicat/gists{/gist_id}","starred_url":"https://api.github.com/users/vanicat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanicat/subscriptions","organizations_url":"https://api.github.com/users/vanicat/orgs","repos_url":"https://api.github.com/users/vanicat/repos","events_url":"https://api.github.com/users/vanicat/events{/privacy}","received_events_url":"https://api.github.com/users/vanicat/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T07:45:37Z","updated_at":"2015-03-10T07:45:37Z","body":"something like`git apply --cached < patch` (well, the equivalent in elisp)\r\n\r\nBy the way, better that only real issue (bug, feature wish...) are posted here. There is http://emacs.stackexchange.com/ and a mailing list (http://groups.google.com/group/magit, mostly inactive, but not completely dead) for more general question.\r\n\r\nAnd read the code, for this kind of question, you will learn more by reading the code."}}