{"action":"created","issue":{"url":"https://api.github.com/repos/textmate/textmate/issues/1307","labels_url":"https://api.github.com/repos/textmate/textmate/issues/1307/labels{/name}","comments_url":"https://api.github.com/repos/textmate/textmate/issues/1307/comments","events_url":"https://api.github.com/repos/textmate/textmate/issues/1307/events","html_url":"https://github.com/textmate/textmate/pull/1307","id":113248347,"number":1307,"title":"Add \"Commit and Continue\" button to the commit window","user":{"login":"jacob-carlborg","id":306980,"avatar_url":"https://avatars.githubusercontent.com/u/306980?v=3","gravatar_id":"","url":"https://api.github.com/users/jacob-carlborg","html_url":"https://github.com/jacob-carlborg","followers_url":"https://api.github.com/users/jacob-carlborg/followers","following_url":"https://api.github.com/users/jacob-carlborg/following{/other_user}","gists_url":"https://api.github.com/users/jacob-carlborg/gists{/gist_id}","starred_url":"https://api.github.com/users/jacob-carlborg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacob-carlborg/subscriptions","organizations_url":"https://api.github.com/users/jacob-carlborg/orgs","repos_url":"https://api.github.com/users/jacob-carlborg/repos","events_url":"https://api.github.com/users/jacob-carlborg/events{/privacy}","received_events_url":"https://api.github.com/users/jacob-carlborg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-10-25T19:59:43Z","updated_at":"2015-10-28T10:11:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/textmate/textmate/pulls/1307","html_url":"https://github.com/textmate/textmate/pull/1307","diff_url":"https://github.com/textmate/textmate/pull/1307.diff","patch_url":"https://github.com/textmate/textmate/pull/1307.patch"},"body":"The use case for this feature is when an interactive rebase is in\r\nprogress and be able to, in one command, amend the current commit\r\nand continue with the rebase.\r\n\r\nBy default, if the --rebase-in-progress flag is passed when the\r\n\"commit\" command is invoked the commit button will be in a\r\n\"commit and continue\" state. This is indicated by the title of the\r\ncommit button now being \"Commit & Continue\". If the option (⌥) key\r\nis being hold down the state will revert back to the standard \"commit\"\r\nstate and the title will change to \"Continue\".\r\n\r\nIf the butten was clicked when it was in the \"commit and continue\"\r\nstate the \"commit\" command will print \"TM_SCM_COMMIT_CONTINUE=1\"\r\n(without the quotes) to stdout as the last line. If the button was\r\nclicked when it was in the standard \"commit\" state the output may\r\ncontain \"TM_SCM_COMMIT_CONTINUE=0\", or the \"TM_SCM_COMMIT_CONTINUE\"\r\nstring will be absent"},"comment":{"url":"https://api.github.com/repos/textmate/textmate/issues/comments/151790222","html_url":"https://github.com/textmate/textmate/pull/1307#issuecomment-151790222","issue_url":"https://api.github.com/repos/textmate/textmate/issues/1307","id":151790222,"user":{"login":"jacob-carlborg","id":306980,"avatar_url":"https://avatars.githubusercontent.com/u/306980?v=3","gravatar_id":"","url":"https://api.github.com/users/jacob-carlborg","html_url":"https://github.com/jacob-carlborg","followers_url":"https://api.github.com/users/jacob-carlborg/followers","following_url":"https://api.github.com/users/jacob-carlborg/following{/other_user}","gists_url":"https://api.github.com/users/jacob-carlborg/gists{/gist_id}","starred_url":"https://api.github.com/users/jacob-carlborg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacob-carlborg/subscriptions","organizations_url":"https://api.github.com/users/jacob-carlborg/orgs","repos_url":"https://api.github.com/users/jacob-carlborg/repos","events_url":"https://api.github.com/users/jacob-carlborg/events{/privacy}","received_events_url":"https://api.github.com/users/jacob-carlborg/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T10:11:31Z","updated_at":"2015-10-28T10:11:31Z","body":"> My thoughts about changing output format and generalizing the button titles can wait, with the above changes I’ll gladly merge it.\r\n\r\nYeah, I think that can wait. This started out as a simple enhancement. I don't want this to get too big.\r\n\r\n@sorbits please comment in the pull request next time and not on the commits. It's easier to keep track of then."}}