-
Notifications
You must be signed in to change notification settings - Fork 28.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#10542 Ability to merge local git branches #25731
Conversation
@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. |
@gecharo, It will cover your contributions to all Microsoft-managed open source projects. |
@gecharo, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request. |
There was a problem hiding this 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.
extensions/git/src/commands.ts
Outdated
@@ -17,15 +17,21 @@ import * as nls from 'vscode-nls'; | |||
|
|||
const localize = nls.loadMessageBundle(); | |||
|
|||
class CheckoutItem implements QuickPickItem { | |||
class CheckoutBasicItem implements QuickPickItem { |
There was a problem hiding this comment.
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
?
extensions/git/src/commands.ts
Outdated
.map(ref => new CheckoutRemoteHeadItem(ref)); | ||
|
||
const picks = [...heads, ...remoteHeads]; | ||
const placeHolder = 'Select a ref to checkout'; |
There was a problem hiding this comment.
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
Paging @gecharo ... 👋 |
Thanks! 🍻 |
Adds ability to merge git branches within git extension. Feature request #10542, workflow as descibed by mherodev.