Skip to content

#10542 Ability to merge local git branches - #25731

Merged
João Moreno (joaomoreno) merged 2 commits into
microsoft:masterfrom
gecharo:git-merge
Jun 26, 2017
Merged

João Moreno (joaomoreno) merged 2 commits into
microsoft:masterfrom
gecharo:git-merge

Conversation

@gecharo

Copy link
Copy Markdown

Adds ability to merge git branches within git extension. Feature request #10542, workflow as descibed by mherodev.

@mention-bot

Copy link
Copy Markdown

gecharo (@gecharo), thanks for your PR! By analyzing the history of the files in this pull request, we identified João Moreno (@joaomoreno) and Johannes Rieken (@jrieken) to be potential reviewers.

@msftclas

@gecharo,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.

It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@msftclas

gecharo (@gecharo), thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.

Thanks, Microsoft Pull Request Bot

@joaomoreno João Moreno (joaomoreno) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a bit more work.

Comment thread extensions/git/src/commands.ts Outdated
const localize = nls.loadMessageBundle();

class CheckoutItem implements QuickPickItem {
class CheckoutBasicItem implements QuickPickItem {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not instead of this simply create a new class MergeItem implements QuickPick?

Comment thread extensions/git/src/commands.ts Outdated
.map(ref => new CheckoutRemoteHeadItem(ref));

const picks = [...heads, ...remoteHeads];
const placeHolder = 'Select a ref to checkout';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where's the localize call? Remember, Code needs to be localized for other languages. Also, the sentence is wrong. It should be something like Select a branch to merge from

@michaeljonathanblack

Copy link
Copy Markdown

Paging gecharo (@gecharo) ... 👋

@joaomoreno

Copy link
Copy Markdown
Contributor

Thanks! 🍻

@joaomoreno
João Moreno (joaomoreno) merged commit 89cd05f into microsoft:master Jun 26, 2017
@gecharo
gecharo (gecharo) deleted the git-merge branch June 26, 2017 09:33
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants