{"action":"opened","number":2740,"pull_request":{"url":"https://api.github.com/repos/magit/magit/pulls/2740","id":81293874,"html_url":"https://github.com/magit/magit/pull/2740","diff_url":"https://github.com/magit/magit/pull/2740.diff","patch_url":"https://github.com/magit/magit/pull/2740.patch","issue_url":"https://api.github.com/repos/magit/magit/issues/2740","number":2740,"state":"open","locked":false,"title":"Add popup menu for rebasing onto origin/master.","user":{"login":"Fuco1","id":2664959,"avatar_url":"https://avatars.githubusercontent.com/u/2664959?v=3","gravatar_id":"","url":"https://api.github.com/users/Fuco1","html_url":"https://github.com/Fuco1","followers_url":"https://api.github.com/users/Fuco1/followers","following_url":"https://api.github.com/users/Fuco1/following{/other_user}","gists_url":"https://api.github.com/users/Fuco1/gists{/gist_id}","starred_url":"https://api.github.com/users/Fuco1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fuco1/subscriptions","organizations_url":"https://api.github.com/users/Fuco1/orgs","repos_url":"https://api.github.com/users/Fuco1/repos","events_url":"https://api.github.com/users/Fuco1/events{/privacy}","received_events_url":"https://api.github.com/users/Fuco1/received_events","type":"User","site_admin":false},"body":"In many workflows it is very common to fetch the master branch and rebase local branches on top of that, so that when we do a pull request the history stays as clean as possible.  I routinely do this with all my branches (1 to 10 at a time), and so a quick popup option saves a lot of time.\r\n\r\nI've implemented this for rebase only because that is my workflow, but I imagine this can be added for merge as well (I'm happy to add it).\r\n\r\nI can also extract the code into functions, but for now I'm just throwing this out there for a review, or if such a feature is even wanted.\r\n\r\nFeel free to comment, Cheers :)","created_at":"2016-08-15T10:17:31Z","updated_at":"2016-08-15T10:17:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/magit/magit/pulls/2740/commits","review_comments_url":"https://api.github.com/repos/magit/magit/pulls/2740/comments","review_comment_url":"https://api.github.com/repos/magit/magit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/magit/magit/issues/2740/comments","statuses_url":"https://api.github.com/repos/magit/magit/statuses/5eea0cc2a13952479d6b976396c7e4827ed87604","head":{"label":"Fuco1:feature/rebase-to-master","ref":"feature/rebase-to-master","sha":"5eea0cc2a13952479d6b976396c7e4827ed87604","user":{"login":"Fuco1","id":2664959,"avatar_url":"https://avatars.githubusercontent.com/u/2664959?v=3","gravatar_id":"","url":"https://api.github.com/users/Fuco1","html_url":"https://github.com/Fuco1","followers_url":"https://api.github.com/users/Fuco1/followers","following_url":"https://api.github.com/users/Fuco1/following{/other_user}","gists_url":"https://api.github.com/users/Fuco1/gists{/gist_id}","starred_url":"https://api.github.com/users/Fuco1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fuco1/subscriptions","organizations_url":"https://api.github.com/users/Fuco1/orgs","repos_url":"https://api.github.com/users/Fuco1/repos","events_url":"https://api.github.com/users/Fuco1/events{/privacy}","received_events_url":"https://api.github.com/users/Fuco1/received_events","type":"User","site_admin":false},"repo":{"id":65723543,"name":"magit","full_name":"Fuco1/magit","owner":{"login":"Fuco1","id":2664959,"avatar_url":"https://avatars.githubusercontent.com/u/2664959?v=3","gravatar_id":"","url":"https://api.github.com/users/Fuco1","html_url":"https://github.com/Fuco1","followers_url":"https://api.github.com/users/Fuco1/followers","following_url":"https://api.github.com/users/Fuco1/following{/other_user}","gists_url":"https://api.github.com/users/Fuco1/gists{/gist_id}","starred_url":"https://api.github.com/users/Fuco1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fuco1/subscriptions","organizations_url":"https://api.github.com/users/Fuco1/orgs","repos_url":"https://api.github.com/users/Fuco1/repos","events_url":"https://api.github.com/users/Fuco1/events{/privacy}","received_events_url":"https://api.github.com/users/Fuco1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Fuco1/magit","description":"It's Magit! A Git Porcelain inside Emacs.","fork":true,"url":"https://api.github.com/repos/Fuco1/magit","forks_url":"https://api.github.com/repos/Fuco1/magit/forks","keys_url":"https://api.github.com/repos/Fuco1/magit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fuco1/magit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fuco1/magit/teams","hooks_url":"https://api.github.com/repos/Fuco1/magit/hooks","issue_events_url":"https://api.github.com/repos/Fuco1/magit/issues/events{/number}","events_url":"https://api.github.com/repos/Fuco1/magit/events","assignees_url":"https://api.github.com/repos/Fuco1/magit/assignees{/user}","branches_url":"https://api.github.com/repos/Fuco1/magit/branches{/branch}","tags_url":"https://api.github.com/repos/Fuco1/magit/tags","blobs_url":"https://api.github.com/repos/Fuco1/magit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fuco1/magit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fuco1/magit/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fuco1/magit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fuco1/magit/statuses/{sha}","languages_url":"https://api.github.com/repos/Fuco1/magit/languages","stargazers_url":"https://api.github.com/repos/Fuco1/magit/stargazers","contributors_url":"https://api.github.com/repos/Fuco1/magit/contributors","subscribers_url":"https://api.github.com/repos/Fuco1/magit/subscribers","subscription_url":"https://api.github.com/repos/Fuco1/magit/subscription","commits_url":"https://api.github.com/repos/Fuco1/magit/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fuco1/magit/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fuco1/magit/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fuco1/magit/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fuco1/magit/contents/{+path}","compare_url":"https://api.github.com/repos/Fuco1/magit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fuco1/magit/merges","archive_url":"https://api.github.com/repos/Fuco1/magit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fuco1/magit/downloads","issues_url":"https://api.github.com/repos/Fuco1/magit/issues{/number}","pulls_url":"https://api.github.com/repos/Fuco1/magit/pulls{/number}","milestones_url":"https://api.github.com/repos/Fuco1/magit/milestones{/number}","notifications_url":"https://api.github.com/repos/Fuco1/magit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fuco1/magit/labels{/name}","releases_url":"https://api.github.com/repos/Fuco1/magit/releases{/id}","deployments_url":"https://api.github.com/repos/Fuco1/magit/deployments","created_at":"2016-08-15T10:13:31Z","updated_at":"2016-08-15T10:13:33Z","pushed_at":"2016-08-15T10:15:18Z","git_url":"git://github.com/Fuco1/magit.git","ssh_url":"git@github.com:Fuco1/magit.git","clone_url":"https://github.com/Fuco1/magit.git","svn_url":"https://github.com/Fuco1/magit","homepage":"https://magit.vc","size":22481,"stargazers_count":0,"watchers_count":0,"language":"Emacs Lisp","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"magit:master","ref":"master","sha":"4a1c432d280f79f2cd3af035d6a0caed1868045c","user":{"login":"magit","id":750076,"avatar_url":"https://avatars.githubusercontent.com/u/750076?v=3","gravatar_id":"","url":"https://api.github.com/users/magit","html_url":"https://github.com/magit","followers_url":"https://api.github.com/users/magit/followers","following_url":"https://api.github.com/users/magit/following{/other_user}","gists_url":"https://api.github.com/users/magit/gists{/gist_id}","starred_url":"https://api.github.com/users/magit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magit/subscriptions","organizations_url":"https://api.github.com/users/magit/orgs","repos_url":"https://api.github.com/users/magit/repos","events_url":"https://api.github.com/users/magit/events{/privacy}","received_events_url":"https://api.github.com/users/magit/received_events","type":"Organization","site_admin":false},"repo":{"id":655492,"name":"magit","full_name":"magit/magit","owner":{"login":"magit","id":750076,"avatar_url":"https://avatars.githubusercontent.com/u/750076?v=3","gravatar_id":"","url":"https://api.github.com/users/magit","html_url":"https://github.com/magit","followers_url":"https://api.github.com/users/magit/followers","following_url":"https://api.github.com/users/magit/following{/other_user}","gists_url":"https://api.github.com/users/magit/gists{/gist_id}","starred_url":"https://api.github.com/users/magit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magit/subscriptions","organizations_url":"https://api.github.com/users/magit/orgs","repos_url":"https://api.github.com/users/magit/repos","events_url":"https://api.github.com/users/magit/events{/privacy}","received_events_url":"https://api.github.com/users/magit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/magit/magit","description":"It's Magit! A Git Porcelain inside Emacs.","fork":false,"url":"https://api.github.com/repos/magit/magit","forks_url":"https://api.github.com/repos/magit/magit/forks","keys_url":"https://api.github.com/repos/magit/magit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magit/magit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magit/magit/teams","hooks_url":"https://api.github.com/repos/magit/magit/hooks","issue_events_url":"https://api.github.com/repos/magit/magit/issues/events{/number}","events_url":"https://api.github.com/repos/magit/magit/events","assignees_url":"https://api.github.com/repos/magit/magit/assignees{/user}","branches_url":"https://api.github.com/repos/magit/magit/branches{/branch}","tags_url":"https://api.github.com/repos/magit/magit/tags","blobs_url":"https://api.github.com/repos/magit/magit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magit/magit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magit/magit/git/refs{/sha}","trees_url":"https://api.github.com/repos/magit/magit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magit/magit/statuses/{sha}","languages_url":"https://api.github.com/repos/magit/magit/languages","stargazers_url":"https://api.github.com/repos/magit/magit/stargazers","contributors_url":"https://api.github.com/repos/magit/magit/contributors","subscribers_url":"https://api.github.com/repos/magit/magit/subscribers","subscription_url":"https://api.github.com/repos/magit/magit/subscription","commits_url":"https://api.github.com/repos/magit/magit/commits{/sha}","git_commits_url":"https://api.github.com/repos/magit/magit/git/commits{/sha}","comments_url":"https://api.github.com/repos/magit/magit/comments{/number}","issue_comment_url":"https://api.github.com/repos/magit/magit/issues/comments{/number}","contents_url":"https://api.github.com/repos/magit/magit/contents/{+path}","compare_url":"https://api.github.com/repos/magit/magit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magit/magit/merges","archive_url":"https://api.github.com/repos/magit/magit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magit/magit/downloads","issues_url":"https://api.github.com/repos/magit/magit/issues{/number}","pulls_url":"https://api.github.com/repos/magit/magit/pulls{/number}","milestones_url":"https://api.github.com/repos/magit/magit/milestones{/number}","notifications_url":"https://api.github.com/repos/magit/magit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magit/magit/labels{/name}","releases_url":"https://api.github.com/repos/magit/magit/releases{/id}","deployments_url":"https://api.github.com/repos/magit/magit/deployments","created_at":"2010-05-07T19:07:04Z","updated_at":"2016-08-15T08:46:13Z","pushed_at":"2016-08-14T23:15:45Z","git_url":"git://github.com/magit/magit.git","ssh_url":"git@github.com:magit/magit.git","clone_url":"https://github.com/magit/magit.git","svn_url":"https://github.com/magit/magit","homepage":"https://magit.vc","size":22481,"stargazers_count":2217,"watchers_count":2217,"language":"Emacs Lisp","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":418,"mirror_url":null,"open_issues_count":10,"forks":418,"open_issues":10,"watchers":2217,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/magit/magit/pulls/2740"},"html":{"href":"https://github.com/magit/magit/pull/2740"},"issue":{"href":"https://api.github.com/repos/magit/magit/issues/2740"},"comments":{"href":"https://api.github.com/repos/magit/magit/issues/2740/comments"},"review_comments":{"href":"https://api.github.com/repos/magit/magit/pulls/2740/comments"},"review_comment":{"href":"https://api.github.com/repos/magit/magit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/magit/magit/pulls/2740/commits"},"statuses":{"href":"https://api.github.com/repos/magit/magit/statuses/5eea0cc2a13952479d6b976396c7e4827ed87604"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"Fuco1"}}