Skip to content

#10542 Ability to merge local git branches#25731

Merged
joaomoreno merged 2 commits intomicrosoft:masterfrom
gecharo:git-merge
Jun 26, 2017
Merged

#10542 Ability to merge local git branches#25731
joaomoreno merged 2 commits intomicrosoft:masterfrom
gecharo:git-merge

Conversation

@gecharo
Copy link

@gecharo gecharo commented May 1, 2017

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

@mention-bot
Copy link

@gecharo, thanks for your PR! By analyzing the history of the files in this pull request, we identified @joaomoreno and @jrieken to be potential reviewers.

@msftclas
Copy link

msftclas commented May 1, 2017

@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
Copy link

msftclas commented May 1, 2017

@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 joaomoreno added this to the May 2017 milestone May 2, 2017
@joaomoreno joaomoreno self-requested a review May 2, 2017 09:01
Copy link
Member

@joaomoreno joaomoreno left a comment

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.

const localize = nls.loadMessageBundle();

class CheckoutItem implements QuickPickItem {
class CheckoutBasicItem implements QuickPickItem {
Copy link
Member

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?

.map(ref => new CheckoutRemoteHeadItem(ref));

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

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

@joaomoreno joaomoreno modified the milestones: May 2017, June 2017 May 24, 2017
@michaeljonathanblack
Copy link

Paging @gecharo ... 👋

@joaomoreno
Copy link
Member

Thanks! 🍻

@joaomoreno joaomoreno merged commit 89cd05f into microsoft:master Jun 26, 2017
@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