@@ -1145,90 +1145,25 @@ export function GraphWrapper({
1145
1145
</ >
1146
1146
) }
1147
1147
</ div >
1148
- < div className = "titlebar__group--last" >
1149
- < span className = "button-group" >
1148
+ < div className = "titlebar__group" >
1150
1149
< GlTooltip placement = "bottom" >
1151
1150
< a
1152
1151
className = "action-button"
1153
1152
href = { createCommandLink ( Commands . GitCommandsBranch , {
1154
1153
args : {
1155
- state : { subcommand : 'create' , flags : [ '--switch' ] , reference : branch } ,
1156
- command : 'branch' ,
1157
- confirm : false ,
1158
- } satisfies BranchGitCommandArgs ,
1159
- } ) }
1160
- >
1161
- < span className = "codicon codicon-custom-git-branch-create action-button__icon" > </ span >
1162
- </ a >
1163
- < span slot = "content" >
1164
- Create a branch from < i > { branchName } </ i > and switch
1165
- </ span >
1166
- </ GlTooltip >
1167
- < GlPopover
1168
- className = "popover"
1169
- placement = "bottom-start"
1170
- trigger = "focus"
1171
- arrow = { false }
1172
- distance = { 0 }
1173
- >
1174
- < GlTooltip placement = "top" distance = { 7 } slot = "anchor" >
1175
- < button type = "button" className = "action-button" aria-label = "Minimap Options" >
1176
- < span
1177
- className = "codicon codicon-chevron-down action-button__more"
1178
- aria-hidden = "true"
1179
- > </ span >
1180
- </ button >
1181
- < span slot = "content" > Create branch options</ span >
1182
- </ GlTooltip >
1183
- < div slot = "content" >
1184
- < MenuLabel > Create branch options</ MenuLabel >
1185
- < MenuItem href = { createCommandLink ( Commands . GitCommandsBranchCreate ) } >
1186
- Create Branch...
1187
- </ MenuItem >
1188
- < MenuItem
1189
- href = { createCommandLink ( Commands . GitCommandsBranch , {
1190
- args : {
1191
- command : 'branch' ,
1192
- confirm : false ,
1193
- state : { flags : [ ] , reference : branch , subcommand : 'create' } ,
1194
- } satisfies BranchGitCommandArgs ,
1195
- } ) }
1196
- >
1197
- Create Branch from < i > { branchName } </ i >
1198
- </ MenuItem >
1199
- < MenuItem
1200
- href = { createCommandLink ( Commands . GitCommandsBranch , {
1201
- args : {
1202
- command : 'branch' ,
1203
- confirm : false ,
1204
1154
state : {
1205
- flags : [ '--switch' ] ,
1206
- reference : branch ,
1207
1155
subcommand : 'create' ,
1208
- } ,
1209
- } satisfies BranchGitCommandArgs ,
1210
- } ) }
1211
- >
1212
- Create from < i > { branchName } </ i > & Switch to Branch
1213
- </ MenuItem >
1214
- < MenuItem
1215
- href = { createCommandLink ( Commands . GitCommandsBranch , {
1216
- args : {
1217
- state : {
1218
- subcommand : 'create' ,
1219
- flags : [ '--worktree' ] ,
1220
1156
reference : branch ,
1221
1157
} ,
1222
1158
command : 'branch' ,
1223
- confirm : false ,
1159
+ confirm : true ,
1224
1160
} satisfies BranchGitCommandArgs ,
1225
1161
} ) }
1226
1162
>
1227
- Create Branch from < i > { branchName } </ i > in New Worktree
1228
- </ MenuItem >
1229
- </ div >
1230
- </ GlPopover >
1231
- </ span >
1163
+ < span className = "codicon codicon-custom-git-branch-create action-button__icon" > </ span >
1164
+ </ a >
1165
+ < span slot = "content" > Create new branch</ span >
1166
+ </ GlTooltip >
1232
1167
< GlTooltip placement = "bottom" >
1233
1168
< a
1234
1169
href = { `command:gitlens.showLaunchpad?${ encodeURIComponent (
0 commit comments